org.apache.avalon.excalibur.lang
Interface ThreadContextAccessor
- public interface ThreadContextAccessor
The ThreadContextAccessor
is the interface through which
ThreadContextPolicy objects access thread context. This is required so
that it can be exposed only to ThreadContextPolicy and not the whole
world.
- Author:
- Peter Donald
Method Summary |
boolean |
containsKey(java.lang.String key)
Determine if ThreadContext contains specified key. |
java.lang.Object |
get(java.lang.String key)
Retrieve value for specified key. |
containsKey
public boolean containsKey(java.lang.String key)
- Determine if ThreadContext contains specified key.
- Parameters:
key
- the key
get
public java.lang.Object get(java.lang.String key)
- Retrieve value for specified key.
- Parameters:
key
- the key
Copyright © 2001 Apache Jakarta Project. All Rights Reserved.