|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.dtt.ca.CAObject
public abstract class CAObject
All CA related classes shall extend this class in order to be able to ensure that the actual CA session is opened. The CASession and CAObject mechanism works as follows:
Constructor Summary | |
---|---|
protected |
CAObject()
Constructs the object using a new CA session. |
protected |
CAObject(CAObject parent)
Constructs the object using the same CA session of the parent object. |
Method Summary | |
---|---|
protected void |
checkSession()
Checks if the actual session is opened. |
protected void |
closeSession()
Closes the session related with this CA object only if the current session was created by this object, i.e. |
CAObject |
getParent()
Return the parent object of this CAObject. |
it.dtt.ca.CASession |
getSession()
Get the session associated with this CAObject. |
protected abstract void |
sessionClosed()
This method is invoked after the session has been closed. |
protected abstract void |
sessionClosing()
This method is invoked before session closing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected CAObject()
protected CAObject(CAObject parent)
parent
- the parent of this CA object.Method Detail |
---|
protected final void closeSession()
CAObject()
was used to create this object.
protected abstract void sessionClosing()
protected abstract void sessionClosed()
protected final void checkSession() throws SessionClosedException
SessionClosedException
exception.
SessionClosedException
- thrown if the actual session is closed.public it.dtt.ca.CASession getSession()
public CAObject getParent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |