|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AtomicContext
A runtime entity that manages an atomic (i.e. leaf-type) artifact.
Field Summary |
---|
Fields inherited from interface org.apache.tuscany.core.context.Lifecycle |
---|
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STARTED, STOPPED, STOPPING, UNINITIALIZED |
Method Summary | |
---|---|
void |
destroy()
Notifies the context of a destroy event |
java.lang.Object |
getTargetInstance()
Returns the target instance associated with the context. |
void |
init()
Notifies the context of an initialization event |
boolean |
isDestroyable()
Returns whether the context should be called back when its scope ends |
boolean |
isEagerInit()
Returns whether the context should be eagerly initialized |
Methods inherited from interface org.apache.tuscany.core.context.Context |
---|
getInstance |
Methods inherited from interface org.apache.tuscany.core.context.EventPublisher |
---|
addListener, addListener, publish, removeListener |
Methods inherited from interface org.apache.tuscany.core.context.Lifecycle |
---|
getLifecycleState, getName, setName, start, stop |
Method Detail |
---|
boolean isEagerInit()
void init() throws TargetException
TargetException
void destroy() throws TargetException
TargetException
boolean isDestroyable()
java.lang.Object getTargetInstance() throws TargetException
TargetException
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |