|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemCompositeContext
Marker type for system composite contexts
Field Summary |
---|
Fields inherited from interface org.apache.tuscany.core.context.Lifecycle |
---|
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STARTED, STOPPED, STOPPING, UNINITIALIZED |
Fields inherited from interface org.apache.tuscany.core.context.Lifecycle |
---|
CONFIG_ERROR, ERROR, INITIALIZED, INITIALIZING, RUNNING, STARTED, STOPPED, STOPPING, UNINITIALIZED |
Method Summary | |
---|---|
void |
registerJavaObject(String name,
Class<?> service,
Object instance)
Register a simple Java Object as a system component. |
Methods inherited from interface org.apache.tuscany.core.context.AutowireContext |
---|
resolveExternalInstance, resolveInstance |
Methods inherited from interface org.apache.tuscany.core.context.CompositeContext |
---|
getComposite, getContext, getParent, getURI, registerModelObject, registerModelObjects, removeContext, setAssemblyContext, setParent, setURI |
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 |
Methods inherited from interface org.apache.tuscany.core.context.ScopeAwareContext |
---|
getScopeContexts |
Methods inherited from interface org.apache.tuscany.core.context.CompositeContext |
---|
getComposite, getContext, getParent, getURI, registerModelObject, registerModelObjects, removeContext, setAssemblyContext, setParent, setURI |
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 |
Methods inherited from interface org.apache.tuscany.core.builder.ContextFactoryBuilder |
---|
build |
Methods inherited from interface org.apache.tuscany.core.builder.WireBuilder |
---|
completeTargetChain, connect |
Method Detail |
---|
void registerJavaObject(String name, Class<?> service, Object instance) throws ConfigurationException
name
- the name of the resulting componentservice
- instance
- the Object that will become the component's implementation
ConfigurationException
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |