|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.compatibility.base.application.spi.AbstractApplicationContext_1
public abstract class AbstractApplicationContext_1
The Application Context Singleton Holder
| Constructor Summary | |
|---|---|
protected |
AbstractApplicationContext_1()
Constructor |
| Method Summary | |
|---|---|
void |
activate()
The activate method initializes a layer or component. |
void |
deactivate()
The deactivate method releases a layer or component. |
static AbstractApplicationContext_1 |
getInstance()
Get the most recently created AbstractApplicationContext_1 instance |
static boolean |
hasInstance()
Tells whether an AbstractApplicationContext_1 has been created |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openmdx.compatibility.base.application.cci.ApplicationContext_1_0 |
|---|
getContainerId, getDomainName |
| Constructor Detail |
|---|
protected AbstractApplicationContext_1()
Remembers and registers the last created AbstractApplicationContext_1 instance.
| Method Detail |
|---|
public static AbstractApplicationContext_1 getInstance()
public static boolean hasInstance()
public void activate()
throws Exception,
ServiceException
An activate() implementation of a subclass should be of the form:
{
super.activate();
«local activation code»
}
activate in interface Manageable_1_0Exception - the application framwork maps all java Exceptions
internally to standard ServiceExceptions.
ServiceException
public void deactivate()
throws Exception,
ServiceException
A deactivate() implementation of a subclass should be of the form: of the form:
{
«local deactivation code»
super.deactivate();
}
deactivate in interface Manageable_1_0Exception - the application framwork maps all java Exceptions
internally to standard ServiceExceptions.
ServiceExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||