| |
|
| org.millstone.base.service.ApplicationContext
All known Subclasses: org.millstone.webadapter.WebApplicationContext,
ApplicationContext | public interface ApplicationContext (Code) | | Application context 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.
author: IT Mill Ltd. version: 3.1.1 since: 3.1 |
Inner Class :public interface TransactionListener | |
Method Summary | |
public void | addTransactionListener(TransactionListener listener) Add transaction listener to this context. | public Collection | getApplications() Get the applications in this context.
Get all applications in this context. | public File | getBaseDirectory() Returns application context base directory.
Typically millstone application is deployed in a such way that is
has application directory. | public void | removeTransactionListener(TransactionListener listener) Remove transaction listener from this context. |
addTransactionListener | public void addTransactionListener(TransactionListener listener)(Code) | | Add transaction listener to this context.
Parameters: listener - The listener to be added. See Also: TransactionListener |
getApplications | public Collection getApplications()(Code) | | Get the applications in this context.
Get all applications in this context. Each application context contains
all applications that are open for one user.
Collection containing all applications in this context |
getBaseDirectory | public File getBaseDirectory()(Code) | | Returns application context base directory.
Typically millstone application is deployed in a such way that is
has application directory. For web applications this directory is the
root directory of the web applications. In some cases application
might not have application directory (for example web applications
running inside of war).
The application base directory |
removeTransactionListener | public void removeTransactionListener(TransactionListener listener)(Code) | | Remove transaction listener from this context.
Parameters: listener - The listener to be removed. See Also: TransactionListener |
|
|
|