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: 408581 $ $Date: 2006-05-21 23:34:24 -0700 (Sun, 21 May 2006) $
RUNTIME
static final String RUNTIME
- See Also:
- Constant Field Values
SYSTEM
static final String SYSTEM
- See Also:
- Constant Field Values
ROOT
static final 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
-