Package com.aspectran.core.adapter
Class BasicApplicationAdapter
- java.lang.Object
-
- com.aspectran.core.adapter.AbstractApplicationAdapter
-
- com.aspectran.core.adapter.BasicApplicationAdapter
-
- All Implemented Interfaces:
ApplicationAdapter
- Direct Known Subclasses:
AspectranApplicationAdapter
,DaemonApplicationAdapter
,ShellApplicationAdapter
public class BasicApplicationAdapter extends AbstractApplicationAdapter
The Class BasicApplicationAdapter.- Since:
- 2016. 3. 26.
-
-
Field Summary
-
Fields inherited from class com.aspectran.core.adapter.AbstractApplicationAdapter
adaptee, scope
-
-
Constructor Summary
Constructors Constructor Description BasicApplicationAdapter()
Instantiates a new BasicApplicationAdapter.BasicApplicationAdapter(java.lang.Object adaptee)
Instantiates a new BasicApplicationAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods 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.-
Methods inherited from class com.aspectran.core.adapter.AbstractApplicationAdapter
getAdaptee, getApplicationScope, toString
-
-
-
-
Method Detail
-
getAttribute
public <T> T getAttribute(java.lang.String name)
Description copied from interface:ApplicationAdapter
Gets the attribute.- Type Parameters:
T
- the generic type- Parameters:
name
- the name- Returns:
- the attribute
-
setAttribute
public void setAttribute(java.lang.String name, java.lang.Object value)
Description copied from interface:ApplicationAdapter
Sets the attribute.- Parameters:
name
- the namevalue
- the value
-
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
Description copied from interface:ApplicationAdapter
Gets the attribute names.- Returns:
- the attribute names
-
removeAttribute
public void removeAttribute(java.lang.String name)
Description copied from interface:ApplicationAdapter
Removes the attribute.- Parameters:
name
- the name
-
-