|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TuscanyRuntime
Method Summary | |
---|---|
MonitorFactory |
createDefaultMonitorFactory()
Create the default MonitorFactory for this runtime. |
void |
destroy()
Destroy the runtime. |
ClassLoader |
getApplicationClassLoader()
Get the application classloader |
String |
getApplicationName()
Returns the name of the component associated with the application SCDL. |
URL |
getApplicationScdl()
Returns the location of the default application's SCDL. |
org.osoa.sca.SCA |
getContext()
Returns the current SCA context |
ClassLoader |
getHostClassLoader()
Returns the host ClassLoader that is parent to all Tuscany classloaders. |
MonitorFactory |
getMonitorFactory()
Returns the MonitorFactory that this runtime is using. |
RuntimeInfo |
getRuntimeInfo()
Returns the info this runtime will make available to service components. |
URL |
getSystemScdl()
Returns the location of the SCDL used to boot this runtime. |
void |
initialize()
Initialize a runtime. |
void |
setApplicationClassLoader(ClassLoader applicationClassLoader)
Set the application classloader |
void |
setApplicationName(String applicationName)
Sets the name of the component associated with the application SCDL. |
void |
setApplicationScdl(URL applicationScdl)
Sets the location of the default application's SCDL |
void |
setHostClassLoader(ClassLoader classLoader)
Sets the host ClassLoader; this will be a parent for all Tuscany classloaders. |
void |
setMonitorFactory(MonitorFactory monitorFactory)
Sets the MonitorFactory that this runtime should use. |
void |
setRuntimeInfo(RuntimeInfo runtimeInfo)
Sets the info this runtime should make available to service components. |
void |
setSystemScdl(URL systemScdl)
Sets the location of the SCDL used to boot this runtime. |
Method Detail |
---|
URL getSystemScdl()
void setSystemScdl(URL systemScdl)
systemScdl
- the location of the SCDL used to boot this runtimeString getApplicationName()
void setApplicationName(String applicationName)
applicationName
- the name of the component associated with the application SCDLURL getApplicationScdl()
void setApplicationScdl(URL applicationScdl)
applicationScdl
- the location of the default application's SCDLClassLoader getHostClassLoader()
void setHostClassLoader(ClassLoader classLoader)
classLoader
- the host's ClassLoaderRuntimeInfo getRuntimeInfo()
void setRuntimeInfo(RuntimeInfo runtimeInfo)
"RuntimeInfo"
.
runtimeInfo
- the information this runtime should make available to service componentsMonitorFactory getMonitorFactory()
void setMonitorFactory(MonitorFactory monitorFactory)
monitorFactory
- the MonitorFactory that this runtime should useMonitorFactory createDefaultMonitorFactory()
void initialize()
void destroy()
org.osoa.sca.SCA getContext()
ClassLoader getApplicationClassLoader()
void setApplicationClassLoader(ClassLoader applicationClassLoader)
|
Apache Tuscany SCA Kernel Sub-Project | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |