public final class ConnectionManager extends java.lang.Object implements ReloadEventListener
| Modifier and Type | Method and Description |
|---|---|
static void |
abort(Connection connection)
abort a connection
|
static void |
clearSession(Session session)
clear a session
|
void |
eventReload(DBObject reloaded)
check the cache as a session has been changed
|
static Connection |
makeConnection(SoapClient client)
make a connection
|
void |
registerWatchedObject(DBObject holdObject)
prevent a session from being cleared out of memory
|
public void eventReload(@Nonnull
DBObject reloaded)
eventReload in interface ReloadEventListenerreloaded - the objectpublic static void abort(Connection connection)
connection - the connection to terminatepublic static void clearSession(Session session)
session - the session to clearpublic void registerWatchedObject(@Nonnull
DBObject holdObject)
registerWatchedObject in interface WatcherholdObject - the object to holdpublic static Connection makeConnection(SoapClient client) throws java.lang.Exception
client - the web clientjava.lang.Exception - a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.