org.openmobileis.common.context
Class ApplicationContextManager
java.lang.Object
org.openmobileis.common.context.ApplicationContextManager
- All Implemented Interfaces:
- ApplicationContextService
- public class ApplicationContextManager
- extends java.lang.Object
- implements ApplicationContextService
Hold the application context. Singleton classe that provide access to the application Context.
Application Context are use to save application specific data. These data are share among all application classes
Data are not persistent.
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
- See Also:
ApplicationContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationContextManager
protected ApplicationContextManager(boolean init)
registerApplicationContext
public static void registerApplicationContext(ApplicationContextManager applicontext)
getManager
public static final ApplicationContextManager getManager()
addManager
public void addManager(java.lang.Object manager)
- facility use to reference application singleton manager to avoid to have them garbage collected
- Specified by:
addManager
in interface ApplicationContextService
setApplicationContext
public void setApplicationContext(ApplicationContext context)
- Specified by:
setApplicationContext
in interface ApplicationContextService
getApplicationContext
public ApplicationContext getApplicationContext()
- Specified by:
getApplicationContext
in interface ApplicationContextService
Copyright 2006 OpenMobileIS. All Rights Reserved.