ch.elca.el4j.core.contextpassing
Class AbstractImplicitContextPasser

java.lang.Object
  extended by ch.elca.el4j.core.contextpassing.AbstractImplicitContextPasser
All Implemented Interfaces:
ImplicitContextPasser, BeanNameAware, InitializingBean
Direct Known Subclasses:
AuthenticationServiceContextPasser, CorrelationIdImplicitContextPasser, DetailedStatisticsImplicitContextPasser

public abstract class AbstractImplicitContextPasser
extends Object
implements InitializingBean, BeanNameAware, ImplicitContextPasser

Every bean requiring implicit context passing needs to have a context passer bean that extends this class. The passer needs a reference to the ImplicitContextPassingRegistry where it is should be registered.

Author:
Andreas Pfenninger (APR)
File-location:
AbstractImplicitContextPasser
Last check-in date:
2009-08-04 13:59:45 +0200 (Di, 04. Aug 2009) by swismer for revision 3873

Constructor Summary
AbstractImplicitContextPasser()
           
 
Method Summary
 void afterPropertiesSet()
          
 String getBeanName()
           
 void setBeanName(String beanName)
          
 void setImplicitContextPassingRegistry(ImplicitContextPassingRegistry registry)
          Sets the implicit context passing registry and registers this context passer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.elca.el4j.core.contextpassing.ImplicitContextPasser
getImplicitlyPassedContext, pushImplicitlyPassedContext
 

Constructor Detail

AbstractImplicitContextPasser

public AbstractImplicitContextPasser()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface InitializingBean
Throws:
Exception

setImplicitContextPassingRegistry

public void setImplicitContextPassingRegistry(ImplicitContextPassingRegistry registry)
Sets the implicit context passing registry and registers this context passer.

Parameters:
registry - The implicit context passing registry.

setBeanName

public void setBeanName(String beanName)

Specified by:
setBeanName in interface BeanNameAware

getBeanName

public String getBeanName()
Returns:
Returns the beanName.


Copyright © 2005-2011 ELCA. All Rights Reserved.