org.ogf.graap.wsag.server.actions
Interface IActionHandlerContext

All Known Implementing Classes:
HandlerContext

public interface IActionHandlerContext

An action handler context contains information about the environment in which a specific action handler is excecuted.

Author:
Oliver Waeldrich

Method Summary
 AgreementFactoryContext getFactoryContext()
          This is the shared context of the agreement factory.
 ImplementationConfigurationType getHandlerConfiguration()
          This is the configuration of the handler instance.
 WsagSession getSession()
          Deprecated.  
 void setSession(WsagSession session)
          Deprecated.  
 

Method Detail

getFactoryContext

AgreementFactoryContext getFactoryContext()
This is the shared context of the agreement factory. All action handler executed in a specific factory have access to this context. The agreement factory may store shared objects at initialization time in this context.

Returns:
the agreement factory context

getHandlerConfiguration

ImplementationConfigurationType getHandlerConfiguration()
This is the configuration of the handler instance. The handler configuration is part of the engine configuration and may contain additional information that is required by the handler to function properly, e.g. in that way additional configuration information can be provided to initialize the handler properly.

Returns:
the action handler configuration

getSession

@Deprecated
WsagSession getSession()
Deprecated. 

Returns the current WSAG4J session object when used, otherwise null.

Returns:
the session object

setSession

@Deprecated
void setSession(WsagSession session)
Deprecated. 

Sets the WSAG4J session object when available, otherwise null.

Parameters:
session - the session object


Copyright © 2008-2012. All Rights Reserved.