| java.lang.Object org.directwebremoting.guice.AbstractContextScope
AbstractContextScope | abstract public class AbstractContextScope implements ContextScope<C>,ContextRegistry<C, R>(Code) | | Partial implementation of
ContextScope . Concrete implementations
must pass the context identifier type to the super constructor and define
get() to return the current context identifier (and to return null
or throw an exception if there is no current context). They must also implement
the
ContextRegistry interface.
author: Tim Peierls [tim at peierls dot net] |
log | final protected static Log log(Code) | | The log stream
|
AbstractContextScope | protected AbstractContextScope(Class<C> type, String scopeName)(Code) | | |
get | abstract public C get()(Code) | | |
getContext | protected C getContext(Key> key)(Code) | | |
getKeysInScope | public List<Key<?>> getKeysInScope()(Code) | | |
scope | public Provider<T> scope(Key<T> key, Provider<T> creator)(Code) | | |
|
|