|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osoa.sca.SCA
org.apache.tuscany.core.client.TuscanyRuntime
public class TuscanyRuntime
Create and initialize a Tuscany SCA runtime environment.
Nested Class Summary | |
---|---|
static interface |
TuscanyRuntime.Monitor
Monitor interface for a TuscanyRuntime. |
Constructor Summary | |
---|---|
TuscanyRuntime(java.lang.String name,
java.lang.String uri)
Construct a runtime using a null MonitorFactory. |
|
TuscanyRuntime(java.lang.String name,
java.lang.String uri,
org.apache.tuscany.common.monitor.MonitorFactory monitorFactory)
Construct a runtime containing a single module component with the specified name. |
Method Summary | |
---|---|
void |
shutdown()
Shut down the Tuscany runtime. |
void |
start()
Start the runtime and associate the module context with the calling thread. |
void |
stop()
Disassociate the module context from the current thread and shut down the runtime. |
Methods inherited from class org.osoa.sca.SCA |
---|
setModuleContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TuscanyRuntime(java.lang.String name, java.lang.String uri) throws ConfigurationException
name
- the name of the module componenturi
- the URI to assign to the module component
ConfigurationException
- if there was a problem loading the SCA configurationTuscanyRuntime(String, String, org.apache.tuscany.common.monitor.MonitorFactory)
public TuscanyRuntime(java.lang.String name, java.lang.String uri, org.apache.tuscany.common.monitor.MonitorFactory monitorFactory) throws ConfigurationException
name
- the name of the module componenturi
- the URI to assign to the module componentmonitorFactory
- the MonitorFactory for this runtime
ConfigurationException
- if there was a problem loading the SCA configurationMethod Detail |
---|
public void start()
start
in class org.osoa.sca.SCA
public void stop()
stop
in class org.osoa.sca.SCA
public void shutdown()
|
Tuscany Core | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |