|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.noaa.gdsg.xmldbremote.service.BaseHandler
The superclass for handler objects.
Constructor Summary | |
BaseHandler()
Creates a new instance of BaseHandler |
Method Summary | |
protected abstract BaseTransport |
createTransportObject(java.lang.Object object)
Subclass implement this in order to create the appropriate object and populate it with appropriate values. |
protected java.lang.Object[] |
getAllStoredObjects()
Returns all known objects being held in session. |
protected java.lang.Object |
getObjectFromSession(BaseTransport transport)
Using the transport id, finds the object the transport object represents. |
protected java.lang.Long |
nextId()
Returns the next id |
BaseTransport |
saveForSession(java.lang.Object object)
saves a service in session and returns the object that represents it |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseHandler()
Method Detail |
protected java.lang.Long nextId()
protected final java.lang.Object getObjectFromSession(BaseTransport transport)
transport
- The object used to represent the actual object.
public final BaseTransport saveForSession(java.lang.Object object) throws org.xmldb.api.base.XMLDBException
object
- the object to save in session.
org.xmldb.api.base.XMLDBException
- All exceptions are rethrown as one.protected java.lang.Object[] getAllStoredObjects()
protected abstract BaseTransport createTransportObject(java.lang.Object object) throws org.xmldb.api.base.XMLDBException
object
- The actual object in which the mock object should be created to represent.
org.xmldb.api.base.XMLDBException
- All exceptions are rethrown as one.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |