|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.boot.comp.AppManager
The AppManager is responsible for handling the application-context and classloaders for xma-components that it also invokes.
| Constructor Summary | |
AppManager(java.util.Properties pnew)
constructor |
|
| Method Summary | |
void |
endComponent(IComponent rtc)
cleanup components and application resources. |
IComponentHelper |
getCompHelper()
Returns the ComponentHelper used for SWT-dependent methods. |
IComponent |
getComponent(java.lang.String component)
prepare, and instantiate a component. |
IComponent |
getComponent(java.lang.String component,
java.util.Properties properties)
prepare, and instantiate a component. |
static AppManager |
getInstance()
get instance |
CCLoader |
getSWTClassLoader()
Returns the classloader used for loading SWT classes. |
static AppManager |
initialize(java.util.Properties pnew)
initialisation |
java.util.Properties |
launch(java.lang.String component,
java.util.Properties input)
prepare, and start a component. |
AppContainer |
loadAndUpdateApplication(XMA_URI uri)
Loads the given application from the cache and updates it from the server if neccessary. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AppManager(java.util.Properties pnew)
| Method Detail |
public static AppManager initialize(java.util.Properties pnew)
public static AppManager getInstance()
public IComponent getComponent(java.lang.String component)
throws java.lang.Exception
Launcher.launch(java.lang.String, at.spardat.xma.boot.KeyValue[])
java.lang.Exception - unrecoverable exception.
public IComponent getComponent(java.lang.String component,
java.util.Properties properties)
throws java.lang.Exception
Launcher.launch(java.lang.String, at.spardat.xma.boot.KeyValue[])
java.lang.Exception - unrecoverable exception.
public java.util.Properties launch(java.lang.String component,
java.util.Properties input)
throws java.lang.Exception
Launcher.launch(java.lang.String, at.spardat.xma.boot.KeyValue[])
java.lang.Exception - unrecoverable exception.public void endComponent(IComponent rtc)
rtc - the terminating component
public AppContainer loadAndUpdateApplication(XMA_URI uri)
throws CommunicationException,
BootRuntimeException
uri - of the application
CommunicationException - if the application hash can not be loaded from the server
BootRuntimeException - if the download of the application resources failed twicepublic CCLoader getSWTClassLoader()
AppLoader.getSwtClassLoader()
public IComponentHelper getCompHelper()
AppLoader.getCompHelper()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||