ch.elca.el4j.core.correlationId
Class CorrelationIdImplicitContextPasser

java.lang.Object
  extended by ch.elca.el4j.core.contextpassing.AbstractImplicitContextPasser
      extended by ch.elca.el4j.core.correlationId.CorrelationIdImplicitContextPasser
All Implemented Interfaces:
ImplicitContextPasser, BeanNameAware, InitializingBean

public class CorrelationIdImplicitContextPasser
extends AbstractImplicitContextPasser

Context Passer for CorrelationId variable.

Author:
Simon Stelling (SST)
File-location:
CorrelationIdImplicitContextPasser
Last check-in date:
2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253

Constructor Summary
CorrelationIdImplicitContextPasser()
           
 
Method Summary
 void afterPropertiesSet()
          checks correct setup.
 CorrelationIdManager getCorrelationIdManager()
           
 String getImplicitlyPassedContext()
          This method is called by the stub (e.g.
 void pushImplicitlyPassedContext(Object context)
          This method is called by the skeleton (e.g.
 void setCorrelationIdManager(CorrelationIdManager correlationIdManager)
           
 
Methods inherited from class ch.elca.el4j.core.contextpassing.AbstractImplicitContextPasser
getBeanName, setBeanName, setImplicitContextPassingRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrelationIdImplicitContextPasser

public CorrelationIdImplicitContextPasser()
Method Detail

getCorrelationIdManager

public CorrelationIdManager getCorrelationIdManager()
Returns:
Returns the correlationIdManager.

setCorrelationIdManager

public void setCorrelationIdManager(CorrelationIdManager correlationIdManager)
Parameters:
correlationIdManager - Is the correlationIdManager to set.

getImplicitlyPassedContext

public String getImplicitlyPassedContext()
This method is called by the stub (e.g. ProxyBean) that makes a remote invocation to collect the implicitly passed context and add it to the invocation.

Returns:
The context that should be added to a method call.

pushImplicitlyPassedContext

public void pushImplicitlyPassedContext(Object context)
This method is called by the skeleton (e.g. ExporterBean) that receives a remote invocation to push the context to the bean.

Parameters:
context - The received context that should be pushed to the service.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
checks correct setup.

Specified by:
afterPropertiesSet in interface InitializingBean
Overrides:
afterPropertiesSet in class AbstractImplicitContextPasser
Throws:
Exception


Copyright © 2005-2011 ELCA. All Rights Reserved.