Apache Tuscany SCA Kernel Sub-Project

org.apache.tuscany.spi.bootstrap
Interface RuntimeComponent

All Superinterfaces:
Component, CompositeComponent, EventListener, EventPublisher, Lifecycle, RuntimeEventListener, SCAObject

public interface RuntimeComponent
extends CompositeComponent

Interface that represents the Tuscany runtime.

Version:
$Rev: 451895 $ $Date: 2006-10-01 23:58:18 -0700 (Sun, 01 Oct 2006) $

Field Summary
 
Fields inherited from interface org.apache.tuscany.spi.Lifecycle
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STOPPED, STOPPING, UNINITIALIZED
 
Method Summary
 Deployer getDeployer()
          Returns the deployer for this runtime.
 CompositeComponent getRootComponent()
          Returns the component that forms the root of the user component tree.
 CompositeComponent getSystemComponent()
          Returns the component that forms the root of the system component tree.
 
Methods inherited from interface org.apache.tuscany.spi.component.CompositeComponent
getChild, getChildren, getPropertyValue, getReferences, getService, getServices, getSystemChild, getSystemChildren, getSystemReferences, getSystemService, getSystemServiceInstance, getSystemServices, locateService, locateSystemService, register, registerJavaObject, resolveExternalInstance, resolveInstance, resolveSystemExternalInstance, resolveSystemInstance, setScopeContainer
 
Methods inherited from interface org.apache.tuscany.spi.component.Component
addInboundWire, addOutboundWire, addOutboundWires, createAsyncTargetInvoker, createTargetInvoker, getInboundWire, getInboundWires, getOutboundWires, getServiceInstance, getServiceInterfaces
 
Methods inherited from interface org.apache.tuscany.spi.component.SCAObject
getExtensions, getName, getParent, getScope, getServiceInstance, isSystem, prepare
 
Methods inherited from interface org.apache.tuscany.spi.event.EventPublisher
addListener, addListener, publish, removeListener
 
Methods inherited from interface org.apache.tuscany.spi.Lifecycle
getLifecycleState, start, stop
 
Methods inherited from interface org.apache.tuscany.spi.event.RuntimeEventListener
onEvent
 

Method Detail

getRootComponent

CompositeComponent getRootComponent()
Returns the component that forms the root of the user component tree. All user components will be managed by composites that are children of this root.

Returns:
the root of the user component tree

getSystemComponent

CompositeComponent getSystemComponent()
Returns the component 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 composites that are children of this root.

Returns:
the root of the system component tree

getDeployer

Deployer getDeployer()
Returns the deployer for this runtime. This interface can be used to deploy new SCA bundles to the runtime.

Returns:
the deployer for this runtime

Apache Tuscany SCA Kernel Sub-Project

-