Package com.aspectran.core.adapter
Class AbstractApplicationAdapter
- java.lang.Object
-
- com.aspectran.core.adapter.AbstractApplicationAdapter
-
- All Implemented Interfaces:
ApplicationAdapter
- Direct Known Subclasses:
BasicApplicationAdapter
,WebApplicationAdapter
public abstract class AbstractApplicationAdapter extends java.lang.Object implements ApplicationAdapter
The Class AbstractApplicationAdapter.- Since:
- 2011. 3. 13.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
adaptee
protected ApplicationScope
scope
-
Constructor Summary
Constructors Constructor Description AbstractApplicationAdapter(java.lang.Object adaptee)
Instantiates a new AbstractApplicationAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getAdaptee()
Gets the adaptee object.ApplicationScope
getApplicationScope()
Gets the application scope.java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.aspectran.core.adapter.ApplicationAdapter
getAttribute, getAttributeNames, removeAttribute, setAttribute
-
-
-
-
Field Detail
-
adaptee
protected final java.lang.Object adaptee
-
scope
protected final ApplicationScope scope
-
-
Method Detail
-
getAdaptee
public <T> T getAdaptee()
Description copied from interface:ApplicationAdapter
Gets the adaptee object.- Specified by:
getAdaptee
in interfaceApplicationAdapter
- Type Parameters:
T
- the generic type- Returns:
- the adaptee object
-
getApplicationScope
public ApplicationScope getApplicationScope()
Description copied from interface:ApplicationAdapter
Gets the application scope.- Specified by:
getApplicationScope
in interfaceApplicationAdapter
- Returns:
- the scope
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-