Package com.aspectran.core.adapter
Class BasicApplicationAdapter
- java.lang.Object
-
- com.aspectran.core.adapter.AbstractApplicationAdapter
-
- com.aspectran.core.adapter.BasicApplicationAdapter
-
- All Implemented Interfaces:
ApplicationAdapter
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> TgetAttribute(java.lang.String name)Gets the attribute.java.util.Enumeration<java.lang.String>getAttributeNames()Gets the attribute names.voidremoveAttribute(java.lang.String name)Removes the attribute.voidsetAttribute(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:ApplicationAdapterGets 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:ApplicationAdapterSets the attribute.- Parameters:
name- the namevalue- the value
-
getAttributeNames
public java.util.Enumeration<java.lang.String> getAttributeNames()
Description copied from interface:ApplicationAdapterGets the attribute names.- Returns:
- the attribute names
-
removeAttribute
public void removeAttribute(java.lang.String name)
Description copied from interface:ApplicationAdapterRemoves the attribute.- Parameters:
name- the name
-
-