Package com.aspectran.core.adapter
Interface ApplicationAdapter
-
- All Known Implementing Classes:
AbstractApplicationAdapter
,AspectranApplicationAdapter
,BasicApplicationAdapter
,DaemonApplicationAdapter
,ShellApplicationAdapter
,WebApplicationAdapter
public interface ApplicationAdapter
The Interface ApplicationAdapter.- Since:
- 2011. 3. 13.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getAdaptee()
Gets the adaptee object.ApplicationScope
getApplicationScope()
Gets the application scope.<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.
-
-
-
Method Detail
-
getAdaptee
<T> T getAdaptee()
Gets the adaptee object.- Type Parameters:
T
- the generic type- Returns:
- the adaptee object
-
getApplicationScope
ApplicationScope getApplicationScope()
Gets the application scope.- Returns:
- the scope
-
getAttribute
<T> T getAttribute(java.lang.String name)
Gets the attribute.- Type Parameters:
T
- the generic type- Parameters:
name
- the name- Returns:
- the attribute
-
setAttribute
void setAttribute(java.lang.String name, java.lang.Object value)
Sets the attribute.- Parameters:
name
- the namevalue
- the value
-
getAttributeNames
java.util.Enumeration<java.lang.String> getAttributeNames()
Gets the attribute names.- Returns:
- the attribute names
-
removeAttribute
void removeAttribute(java.lang.String name)
Removes the attribute.- Parameters:
name
- the name
-
-