com.sibvisions.rad.server
Class ServerContextImpl

java.lang.Object
  extended by javax.rad.server.ServerContext
      extended by com.sibvisions.rad.server.ServerContextImpl

public class ServerContextImpl
extends ServerContext

The ServerContextImpl is an internal ServerContext implementation.


Method Summary
protected  void destroy()
          Destroyes any resources associated with this ServerContext instance.
 IServer getServer()
          Gets the server.
 ISession getSession()
          Gets the session instance if available.
 String getSystemIdentifier()
          Gets the system identifier.
 
Methods inherited from class javax.rad.server.ServerContext
getCurrentInstance, getCurrentSession, isReleased, release, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

destroy

protected void destroy()
Destroyes any resources associated with this ServerContext instance.

Specified by:
destroy in class ServerContext

getSession

public ISession getSession()
Gets the session instance if available.

Specified by:
getSession in class ServerContext
Returns:
the session or null if session is not available

getSystemIdentifier

public String getSystemIdentifier()
Gets the system identifier. The identifier is unique for each server and deployment mode, e.g. web application deployed as war, desktop application, ...

Specified by:
getSystemIdentifier in class ServerContext
Returns:
the identifier

getServer

public IServer getServer()
Gets the server.

Returns:
the server


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.