org.jboss.cache.invocation
Class AbstractInvocationDelegate

java.lang.Object
  extended by org.jboss.cache.invocation.AbstractInvocationDelegate
Direct Known Subclasses:
CacheInvocationDelegate, NodeInvocationDelegate

public abstract class AbstractInvocationDelegate
extends Object

The JBoss Cache hand-wired interceptor stack. A "minimal" AOP framework which uses delegation through an interceptor chain rather than any bytecode manipulation.

This class provides some generic behaviour such as the construction of an InvocationContext which is passed up the interceptor chain.

Since:
2.1.0
Author:
Manik Surtani (manik@jboss.org)
See Also:
CommandInterceptor, InvocationContext

Field Summary
protected  Configuration configuration
           
protected  InvocationContextContainer invocationContextContainer
           
protected  InterceptorChain invoker
           
protected  LifecycleManager lifecycleManager
           
protected  org.apache.commons.logging.Log log
           
protected  boolean originLocal
           
 
Constructor Summary
AbstractInvocationDelegate()
           
 
Method Summary
protected  void assertIsConstructed()
           
 void initialize(Configuration configuration, InvocationContextContainer invocationContextContainer, LifecycleManager lifecycleManager, InterceptorChain interceptorChain)
          Used by the interceptor chain factory to inject dependencies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected org.apache.commons.logging.Log log

configuration

protected Configuration configuration

invocationContextContainer

protected InvocationContextContainer invocationContextContainer

lifecycleManager

protected LifecycleManager lifecycleManager

invoker

protected InterceptorChain invoker

originLocal

protected boolean originLocal
Constructor Detail

AbstractInvocationDelegate

public AbstractInvocationDelegate()
Method Detail

initialize

public void initialize(Configuration configuration,
                       InvocationContextContainer invocationContextContainer,
                       LifecycleManager lifecycleManager,
                       InterceptorChain interceptorChain)
Used by the interceptor chain factory to inject dependencies.


assertIsConstructed

protected void assertIsConstructed()


Copyright © 2008 JBoss, a division of Red Hat. All Rights Reserved.