org.ow2.orchestra.pvm.env
Interface Context

All Known Implementing Classes:
EnvironmentFactory, ExecutionContext, JobContext, PvmEnvironmentFactory, SpringEnvironmentContext, SpringEnvironmentFactory, WebRequestContext, WebSessionContext, WireContext

public interface Context

a group of named objects in an Environment that have a similar lifespan.

Author:
Tom Baeyens

Field Summary
static String CONTEXTNAME_ENVIRONMENT
          key of the block context in the environment
static String CONTEXTNAME_ENVIRONMENT_FACTORY
          key of the environment-factory context in the environment
 
Method Summary
<T> T
get(Class<T> type)
           
 Object get(String key)
           
 String getName()
           
 boolean has(String key)
           
 Set<String> keys()
           
 Object set(String key, Object value)
           
 

Field Detail

CONTEXTNAME_ENVIRONMENT_FACTORY

static final String CONTEXTNAME_ENVIRONMENT_FACTORY
key of the environment-factory context in the environment

See Also:
Constant Field Values

CONTEXTNAME_ENVIRONMENT

static final String CONTEXTNAME_ENVIRONMENT
key of the block context in the environment

See Also:
Constant Field Values
Method Detail

getName

String getName()

get

Object get(String key)

get

<T> T get(Class<T> type)

has

boolean has(String key)

set

Object set(String key,
           Object value)

keys

Set<String> keys()


Copyright © 2011 OW2 Consortium. All Rights Reserved.