public interface SessionCheckInterfaceEnhanced extends SessionCheckInterface
The interface extends the interface SessionCheckInterface with new methods. The hard coded use of the current avalon instance is no longer necessary. All required parameters can passed through the property list.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_AVALON_SESSIONNOTIFICATION_AVALON_SERVICE_NAME |
static java.lang.String |
PROPERTY_AVALON_SESSIONNOTIFICATION_DISTRIBUTOR_FACTORY |
static java.lang.String |
PROPERTY_AVALON_SESSIONNOTIFICATION_FACTORY_NAME |
static java.lang.String |
PROPERTY_AVALON_SESSIONNOTIFICATION_ORB |
static java.lang.String |
PROPERTY_AVALON_SESSIONNOTIFICATION_WORKER_ID |
Modifier and Type | Method and Description |
---|---|
void |
checkSession(AoSession aoSession,
SessionNotificationEventType notificationEventType)
Method called every time the new session is created or before the session is closed.
|
void |
init(java.util.Properties properties)
Initialize the session communication.
|
checkSession, close, init
static final java.lang.String PROPERTY_AVALON_SESSIONNOTIFICATION_FACTORY_NAME
static final java.lang.String PROPERTY_AVALON_SESSIONNOTIFICATION_WORKER_ID
static final java.lang.String PROPERTY_AVALON_SESSIONNOTIFICATION_DISTRIBUTOR_FACTORY
static final java.lang.String PROPERTY_AVALON_SESSIONNOTIFICATION_AVALON_SERVICE_NAME
static final java.lang.String PROPERTY_AVALON_SESSIONNOTIFICATION_ORB
void init(java.util.Properties properties)
properties
- with the relevant objects for the pluginvoid checkSession(AoSession aoSession, SessionNotificationEventType notificationEventType) throws AoException
aoSess
- the session for which the event was created.notificationEventType,
- the kind of notification. Thus it is possible to use one plugin for various event types.AoException
- any occurring ASAM ODS exception.