org.ogf.graap.wsag.server.actions.impl
Class HandlerContext

java.lang.Object
  extended by org.ogf.graap.wsag.server.actions.impl.HandlerContext
All Implemented Interfaces:
IActionHandlerContext

public class HandlerContext
extends Object
implements IActionHandlerContext

Author:
Oliver Waeldrich

Constructor Summary
HandlerContext()
           
 
Method Summary
 IAgreementFactoryContext getFactoryContext()
          This is the shared context of the agreement factory.
 ImplementationConfigurationType getHandlerConfiguration()
          This is the configuration of the handler instance.
 void setFactoryContext(IAgreementFactoryContext context)
           
 void setHandlerConfiguration(ImplementationConfigurationType config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandlerContext

public HandlerContext()
Method Detail

getFactoryContext

public IAgreementFactoryContext 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.

Specified by:
getFactoryContext in interface IActionHandlerContext
Returns:
the agreement factory context
See Also:
IActionHandlerContext.getFactoryContext()

setFactoryContext

public void setFactoryContext(IAgreementFactoryContext context)

Parameters:
context - sets the agreement factory context

setHandlerConfiguration

public void setHandlerConfiguration(ImplementationConfigurationType config)

Parameters:
config - sets the configuration for this particular handler

getHandlerConfiguration

public 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.

Specified by:
getHandlerConfiguration in interface IActionHandlerContext
Returns:
the action handler configuration
See Also:
IActionHandlerContext.getHandlerConfiguration()


Copyright © 2008-2012 Fraunhofer Institute SCAI. All Rights Reserved.