|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SCAObject
Represents the base SCA artifact type in an assembly
Field Summary |
---|
Fields inherited from interface org.apache.tuscany.spi.Lifecycle |
---|
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STOPPED, STOPPING, UNINITIALIZED |
Method Summary | |
---|---|
Map<Object,Object> |
getExtensions()
The extensions map contains other runtime context such as type systems for various databindings |
String |
getName()
Returns the artifact name |
CompositeComponent |
getParent()
Returns the parent composite, or null if the artifact does not have one |
Scope |
getScope()
Returns the artifact scope |
Object |
getServiceInstance()
Returns an instance associated with the default service |
boolean |
isSystem()
Returns true if the artifact is a system artifact |
void |
prepare()
Called to signal that the composite should perform and required steps prior to registration with its parent such as wiring of its children |
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 |
---|
String getName()
CompositeComponent getParent()
Scope getScope()
Object getServiceInstance() throws TargetException
TargetException
- if an error occurs retrieving the instancevoid prepare()
Map<Object,Object> getExtensions()
boolean isSystem()
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |