|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wiley.posa3.resourcelifecyclemanager.Connection
Connection is a resource that implements both ManagedResource and EvictionInteface.
| Constructor Summary | |
Connection()
|
|
| Method Summary | |
void |
authenticate(SecurityToken token)
Authenticate the connection using the security token |
void |
beforeEviction()
The beforeEviction() method serves as a hook method that can be called by the Evictor before it evicts an object. |
Identity |
getId()
Get the identity of this resource |
java.lang.Object |
info()
The info() method is used by the Evictor to extract strategy-specific information from the object, to determine whether or not to evict it. |
boolean |
isEvictable()
The method isEvictable() is used to determine whether this connection object is evictable. |
void |
method1()
Some generic method. |
void |
method2()
Some generic method. |
ResourceType |
type()
Get the type of resource. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Connection()
| Method Detail |
public void authenticate(SecurityToken token)
token - security token to use for authenticationpublic ResourceType type()
type in interface ManagedResourcepublic Identity getId()
getId in interface Resourcepublic boolean isEvictable()
isEvictable in interface EvictionInterfacepublic void beforeEviction()
beforeEviction in interface EvictionInterfacepublic java.lang.Object info()
info in interface EvictionInterfacepublic void method1()
method1 in interface Resourcepublic void method2()
method2 in interface Resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||