public final class ApplicationContext extends Object
| Modifier and Type | Method and Description |
|---|---|
WriteSession |
createSession()
Create a
WriteSession. |
static ApplicationContext |
getInstance()
Get the Application context.
|
String |
toString() |
public WriteSession createSession() throws ApplicationContextException
WriteSession. Only one write session can be active per
thread. Sessions should not be shared among threads.ApplicationContextException - if no write session can be created for whichever reason,
e.g., the Application Engine is off-line or is not available.public static ApplicationContext getInstance()
Copyright (C) 2014-2016, Center for Open Middleware