|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ScopeContainer
Manages the lifecycle and visibility of instances associated with a set of AtomicComponent
s.
SCAObject
Field Summary |
---|
Fields inherited from interface org.apache.tuscany.spi.Lifecycle |
---|
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STOPPED, STOPPING, UNINITIALIZED |
Method Summary | |
---|---|
Object |
getInstance(AtomicComponent component)
Returns an instance associated with the current component |
Scope |
getScope()
Returns the scope value representing the scope context |
void |
register(AtomicComponent component)
Registers a component with the scope component |
void |
setWorkContext(WorkContext workContext)
Sets the work context used by the scope container |
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 |
---|
Scope getScope()
void setWorkContext(WorkContext workContext)
void register(AtomicComponent component)
Object getInstance(AtomicComponent component) throws TargetException
TargetException
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |