org.jboss.cache.invocation
Class InvocationContextContainer

java.lang.Object
  extended by java.lang.ThreadLocal<InvocationContext>
      extended by org.jboss.cache.invocation.InvocationContextContainer

public class InvocationContextContainer
extends ThreadLocal<InvocationContext>

Container and factory for thread locals

Since:
2.1.0
Author:
Manik Surtani (manik AT jboss DOT org)

Constructor Summary
InvocationContextContainer()
           
 
Method Summary
protected  InvocationContext initialValue()
           
 void injectContextFactory(ContextFactory contextFactory)
           
 
Methods inherited from class java.lang.ThreadLocal
get, remove, set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationContextContainer

public InvocationContextContainer()
Method Detail

injectContextFactory

public void injectContextFactory(ContextFactory contextFactory)

initialValue

protected InvocationContext initialValue()
Overrides:
initialValue in class ThreadLocal<InvocationContext>


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