Package com.aspectran.core.adapter
Class AbstractSessionAdapter
- java.lang.Object
-
- com.aspectran.core.adapter.AbstractSessionAdapter
-
- All Implemented Interfaces:
SessionAdapter
- Direct Known Subclasses:
AdviceHttpSessionAdapter
,BasicSessionAdapter
,HttpSessionAdapter
public abstract class AbstractSessionAdapter extends java.lang.Object implements SessionAdapter
The Abstract Class for session object adapter.- Since:
- 2011. 3. 13.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
adaptee
-
Constructor Summary
Constructors Constructor Description AbstractSessionAdapter(java.lang.Object adaptee)
Instantiates a new AbstractSessionAdapter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
getAdaptee()
Returns the adaptee object to provide session information.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.SessionAdapter
getAttribute, getAttributeNames, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getSessionScope, invalidate, isNew, removeAttribute, setAttribute, setMaxInactiveInterval
-
-
-
-
Method Detail
-
getAdaptee
public <T> T getAdaptee()
Description copied from interface:SessionAdapter
Returns the adaptee object to provide session information.- Specified by:
getAdaptee
in interfaceSessionAdapter
- Type Parameters:
T
- the type of the adaptee object- Returns:
- the adaptee object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-