|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.rad.server.ServerContext
public abstract class ServerContext
A ServerContext contains all of the per-request state information related to the processing
of a single server call. It is passed to, and potentially modified by, each phase of the request processing
lifecycle.
ServerContext| Constructor Summary | |
|---|---|
ServerContext()
|
|
| Method Summary | |
|---|---|
protected abstract void |
destroy()
Destroyes any resources associated with this ServerContext instance. |
static ServerContext |
getCurrentInstance()
Gets the current instance of ServerContext. |
static ISession |
getCurrentSession()
Gets the current session. |
abstract ISession |
getSession()
Gets the session instance if available. |
abstract String |
getSystemIdentifier()
Gets the system identifier. |
boolean |
isReleased()
Gets the release state of this ServerContext. |
void |
release()
Release any resources associated with this ServerContext instance. |
protected void |
setInstance(ServerContext pContext)
Sets the current context instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerContext()
| Method Detail |
|---|
protected abstract void destroy()
public abstract ISession getSession()
null if session is not availablepublic abstract String getSystemIdentifier()
public static ServerContext getCurrentInstance()
ServerContext.
public static ISession getCurrentSession()
protected void setInstance(ServerContext pContext)
pContext - the context instancepublic final void release()
ServerContext instance.
isReleased()public boolean isReleased()
ServerContext.
true if there is no current instance of ServerContext (means
that the ServerContext is released); otherwise false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||