|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AtomicComponent
The runtime instantiation of an SCA atomic, or leaf-type, component
Field Summary |
---|
Fields inherited from interface org.apache.tuscany.spi.Lifecycle |
---|
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STOPPED, STOPPING, UNINITIALIZED |
Method Summary | |
---|---|
Object |
createInstance()
Creates a new implementation instance, generally used as a callback by a ScopeContainer |
void |
destroy(Object instance)
Notifies the given instance of a destroy event |
int |
getInitLevel()
Returns the initialization level for this component. |
void |
init(Object instance)
Notifies the given instance of an initialization event |
boolean |
isEagerInit()
Returns whether component instances should be eagerly initialized |
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 |
Method Detail |
---|
boolean isEagerInit()
int getInitLevel()
ComponentDefinition.getInitLevel()
void init(Object instance) throws TargetException
TargetException
void destroy(Object instance) throws TargetException
TargetException
Object createInstance() throws ObjectCreationException
ScopeContainer
ObjectCreationException
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |