|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.table.appregistry.ApplicationRegistry
public class ApplicationRegistry
The Class ApplicationRegistry.
Method Summary | |
---|---|
java.util.Collection<ApplicationInfo> |
getAllInfo()
Gets the all info. |
SynergyNetApp |
getAppInstance(ApplicationInfo ai)
Gets the app instance. |
SynergyNetApp |
getAppInstance(java.util.Map<java.lang.String,SynergyNetApp> map,
ApplicationInfo info)
Gets the app instance. |
SynergyNetApp |
getClientAppInstance(ApplicationInfo info)
Gets the client app instance. |
SynergyNetApp |
getControllerAppInstance(ApplicationInfo info)
Gets the controller app instance. |
ApplicationInfo |
getDefaultApp()
Gets the default app. |
SynergyNetApp |
getFreshAppInstance(ApplicationInfo ai)
Gets the fresh app instance. |
ApplicationInfo |
getInfoForClassName(java.lang.String classname)
Gets the info for class name. |
ApplicationInfo |
getInfoForName(java.lang.String appName,
java.lang.String type)
Gets the info for name. |
static ApplicationRegistry |
getInstance()
Gets the single instance of ApplicationRegistry. |
SynergyNetApp |
getProjectorAppInstance(ApplicationInfo info)
Gets the projector app instance. |
void |
register(ApplicationInfo info)
Register. |
void |
removeInstance(ApplicationInfo info)
Removes the instance. |
void |
setDefault(java.lang.String classname)
Sets the default. |
void |
setDefaultApp(ApplicationInfo defaultApp)
Sets the default app. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ApplicationRegistry getInstance()
public java.util.Collection<ApplicationInfo> getAllInfo()
public SynergyNetApp getAppInstance(ApplicationInfo ai) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
ai
- the ai
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
java.lang.SecurityException
- the security exception
java.lang.IllegalArgumentException
- the illegal argument exception
java.lang.NoSuchMethodException
- the no such method exception
java.lang.reflect.InvocationTargetException
- the invocation target exceptionpublic SynergyNetApp getAppInstance(java.util.Map<java.lang.String,SynergyNetApp> map, ApplicationInfo info) throws java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
map
- the mapinfo
- the info
java.lang.SecurityException
- the security exception
java.lang.IllegalArgumentException
- the illegal argument exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
java.lang.NoSuchMethodException
- the no such method exception
java.lang.reflect.InvocationTargetException
- the invocation target exceptionpublic SynergyNetApp getClientAppInstance(ApplicationInfo info) throws java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
info
- the info
java.lang.SecurityException
- the security exception
java.lang.IllegalArgumentException
- the illegal argument exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
java.lang.NoSuchMethodException
- the no such method exception
java.lang.reflect.InvocationTargetException
- the invocation target exceptionpublic SynergyNetApp getControllerAppInstance(ApplicationInfo info) throws java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
info
- the info
java.lang.SecurityException
- the security exception
java.lang.IllegalArgumentException
- the illegal argument exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
java.lang.NoSuchMethodException
- the no such method exception
java.lang.reflect.InvocationTargetException
- the invocation target exceptionpublic ApplicationInfo getDefaultApp()
public SynergyNetApp getFreshAppInstance(ApplicationInfo ai) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
ai
- the ai
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
java.lang.SecurityException
- the security exception
java.lang.IllegalArgumentException
- the illegal argument exception
java.lang.NoSuchMethodException
- the no such method exception
java.lang.reflect.InvocationTargetException
- the invocation target exceptionpublic ApplicationInfo getInfoForClassName(java.lang.String classname)
classname
- the classname
public ApplicationInfo getInfoForName(java.lang.String appName, java.lang.String type)
appName
- the app nametype
- the type
public SynergyNetApp getProjectorAppInstance(ApplicationInfo info) throws java.lang.SecurityException, java.lang.IllegalArgumentException, java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException
info
- the info
java.lang.SecurityException
- the security exception
java.lang.IllegalArgumentException
- the illegal argument exception
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exception
java.lang.NoSuchMethodException
- the no such method exception
java.lang.reflect.InvocationTargetException
- the invocation target exceptionpublic void register(ApplicationInfo info) throws java.lang.InstantiationException, java.lang.IllegalAccessException, java.lang.ClassNotFoundException
info
- the info
java.lang.InstantiationException
- the instantiation exception
java.lang.IllegalAccessException
- the illegal access exception
java.lang.ClassNotFoundException
- the class not found exceptionpublic void removeInstance(ApplicationInfo info)
info
- the infopublic void setDefault(java.lang.String classname)
classname
- the new defaultpublic void setDefaultApp(ApplicationInfo defaultApp)
defaultApp
- the new default apppublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |