org.apache.tuscany.core.runtime
Interface RuntimeContext
- All Superinterfaces:
- AutowireContext, CompositeContext, ConfigurationContext, Context, ContextFactoryBuilder, EventPublisher, Lifecycle, WireBuilder
- All Known Implementing Classes:
- RuntimeContextImpl
public interface RuntimeContext
- extends AutowireContext, ConfigurationContext
Represents a top-level component context in the runtime, that is the bootstrap context.
This context serves as the ultimate root of the context hierarchy. Under it are two
separate trees: the rootContext for user components and the systemContext for
system components (those that comprise the runtime itself).
- Version:
- $Rev: 394588 $ $Date: 2006-04-16 20:23:18 -0400 (Sun, 16 Apr 2006) $
Field Summary |
static java.lang.String |
ROOT
|
static java.lang.String |
RUNTIME
|
static java.lang.String |
SYSTEM
|
RUNTIME
static final java.lang.String RUNTIME
- See Also:
- Constant Field Values
SYSTEM
static final java.lang.String SYSTEM
- See Also:
- Constant Field Values
ROOT
static final java.lang.String ROOT
- See Also:
- Constant Field Values
getRootContext
CompositeContext getRootContext()
- Returns the context that forms the root of the user component tree.
All user components will managed by contexts that are children of this root.
- Returns:
- the root of the user component tree
getSystemContext
SystemCompositeContext getSystemContext()
- Returns the context that forms the root of the system component tree.
All system components, components that provide system services needed by the
Tuscany runtime itself, will be managed by contexts that are children of this root.
- Returns:
- the root of the system component tree
addBuilder
@Deprecated
void addBuilder(WireBuilder builder)
- Deprecated.
- Adds a wire builder to the runtime
-