com.googlecode.lightest.core
Class ThreadedLightestContext
java.lang.Object
java.lang.ThreadLocal<T>
java.lang.InheritableThreadLocal
com.googlecode.lightest.core.ThreadedLightestContext
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class ThreadedLightestContext
- extends InheritableThreadLocal
- implements groovy.lang.GroovyObject
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadedLightestContext
public ThreadedLightestContext(LightestContextFactory factory)
- Parameters:
factory - the factory that will be used to create new context
instances on each thread
initialValue
protected LightestContext initialValue()
- Overrides:
initialValue in class ThreadLocal
childValue
protected LightestContext childValue(LightestContext parentValue)
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
- Specified by:
setMetaClass in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String name,
Object args)
- Specified by:
invokeMethod in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String name)
- Specified by:
getProperty in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String name,
Object value)
- Specified by:
setProperty in interface groovy.lang.GroovyObject
Copyright © 2009. All Rights Reserved.