ApplicationAdapter
DaemonApplicationAdapter
, EmbeddedApplicationAdapter
, ShellApplicationAdapter
public class BasicApplicationAdapter extends AbstractApplicationAdapter
adaptee, scope
Constructor | Description |
---|---|
BasicApplicationAdapter() |
Instantiates a new BasicApplicationAdapter.
|
BasicApplicationAdapter(java.lang.Object adaptee) |
Instantiates a new BasicApplicationAdapter.
|
Modifier and Type | Method | Description |
---|---|---|
<T> T |
getAttribute(java.lang.String name) |
Gets the attribute.
|
java.util.Enumeration<java.lang.String> |
getAttributeNames() |
Gets the attribute names.
|
void |
removeAttribute(java.lang.String name) |
Removes the attribute.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value) |
Sets the attribute.
|
getAdaptee, getApplicationScope, toString
public BasicApplicationAdapter()
public BasicApplicationAdapter(java.lang.Object adaptee)
adaptee
- the adaptee objectpublic <T> T getAttribute(java.lang.String name)
ApplicationAdapter
T
- the generic typename
- the namepublic void setAttribute(java.lang.String name, java.lang.Object value)
ApplicationAdapter
name
- the namevalue
- the valuepublic java.util.Enumeration<java.lang.String> getAttributeNames()
ApplicationAdapter
public void removeAttribute(java.lang.String name)
ApplicationAdapter
name
- the nameCopyright © 2008–2018 The Aspectran Project. All rights reserved.