toolbox.oracle.siebel.session.services
Class SiebelSessionTokenServiceEnvironment

java.lang.Object
  extended by toolbox.oracle.siebel.session.services.SiebelSessionTokenServiceEnvironment
All Implemented Interfaces:
toolbox.services.ServiceEnvironment

public class SiebelSessionTokenServiceEnvironment
extends java.lang.Object
implements toolbox.services.ServiceEnvironment

ServiceEnvironment implementation to provide access to a toolbox.oracle.siebel.session.SessionTokenManager instance.

Author:
Hannes Holtzhausen

Constructor Summary
SiebelSessionTokenServiceEnvironment()
          Default constructor.
 
Method Summary
 void create(java.lang.String name, java.lang.String config)
          Create and set the SessionTokenManager for this environment.
 void destroy()
          Destroy this environment by destroying the member DaoManager.
 java.lang.String getName()
          Return the name of this environment.
 SessionTokenManager getSessionTokenManager()
          Return the member SessionTokenManager instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SiebelSessionTokenServiceEnvironment

public SiebelSessionTokenServiceEnvironment()
Default constructor.

Method Detail

create

public void create(java.lang.String name,
                   java.lang.String config)
            throws toolbox.services.ServiceException
Create and set the SessionTokenManager for this environment.

Specified by:
create in interface toolbox.services.ServiceEnvironment
Parameters:
name - The name of the environment.
config - The location of the environment configuration.
Throws:
toolbox.services.ServiceException - if the environment cannot be initialised.

getName

public java.lang.String getName()
Return the name of this environment.

Specified by:
getName in interface toolbox.services.ServiceEnvironment
Returns:
String containing the name of this environment.

getSessionTokenManager

public SessionTokenManager getSessionTokenManager()
Return the member SessionTokenManager instance.

Returns:
SessionTokenManager instance.

destroy

public void destroy()
             throws toolbox.services.ServiceException
Destroy this environment by destroying the member DaoManager.

Specified by:
destroy in interface toolbox.services.ServiceEnvironment
Throws:
toolbox.services.ServiceException - if this environment cannot be destroyed.