|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationContext
ApplicationContext
provides information about the running
context of the application. Each context is shared by all applications that
are open for one user. In web-environment this corresponds to HttpSession.
Nested Class Summary | |
---|---|
static interface |
ApplicationContext.TransactionListener
Interface for listening the application transaction events. |
Method Summary | |
---|---|
void |
addTransactionListener(ApplicationContext.TransactionListener listener)
Adds transaction listener to this context. |
Collection |
getApplications()
Gets the applications in this context. |
File |
getBaseDirectory()
Returns application context base directory. |
void |
removeTransactionListener(ApplicationContext.TransactionListener listener)
Removes transaction listener from this context. |
Method Detail |
---|
File getBaseDirectory()
Collection getApplications()
void addTransactionListener(ApplicationContext.TransactionListener listener)
listener
- the listener to be added.ApplicationContext.TransactionListener
void removeTransactionListener(ApplicationContext.TransactionListener listener)
listener
- the listener to be removed.ApplicationContext.TransactionListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |