|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISrvAppWatcher
The interface through which application state changes can be watched.
Method Summary | |
---|---|
void |
onAppActive(String name)
Notifies that an application has gone active. |
void |
onAppBusBindingCreated(String appName,
String busName)
Notifies that an application bus binding has been created. |
void |
onAppBusBindingDestroyed(String appName,
String busName)
Notifies that an application's bus binding has been destroyed (torn down). |
void |
onAppBusBindingFailed(String appName,
String busName,
String cause)
Notifies that an application's bus binding has failed. |
void |
onAppBusBindingOpened(String appName,
String busName)
Notifies that an application bus binding is open and operational. |
void |
onAppBusBindingOpening(String appName,
String busName)
Notifies that an application bus binding is opening. |
void |
onAppChannelClosed(String appName,
String busName,
String channelName)
Notifies that an application's channel has been closed. |
void |
onAppChannelOpened(String appName,
String busName,
String channelName,
boolean joined)
Notifies that an application's channel has been opened. |
void |
onAppClientConnected(String appName,
String clientName)
Notifies that an application's client has connected. |
void |
onAppClientDisconnected(String appName,
String clientName)
Notifies that an application's client has disconnected. |
void |
onAppFlowCreated(String appName,
int flowid)
Notifies that a new flow has been created for the application. |
void |
onAppInitialized(SrvAppLoader loader)
Notifies that an application has been initialized. |
void |
onAppLoaded(SrvAppLoader loader)
Notifies that an application has been loaded. |
void |
onAppStarted(String name)
Notifies that an application has been started. |
void |
onAppStopped(String name)
Notifies that an application has been stopped. |
void |
onAppUnloaded(String name)
Notifies that an application has been unloaded. |
Method Detail |
---|
void onAppLoaded(SrvAppLoader loader)
loader
- The loaded application's loader.void onAppInitialized(SrvAppLoader loader)
loader
- The initialized application's loader.void onAppStarted(String name)
name
- The started application's name.This method is invoked when an application's AEP engine is started.
void onAppActive(String name)
name
- The active application's name.This method is invoked when an application's AEP engine goes active i.e. when the application assumes the role of the primary application in its cluster.
void onAppBusBindingCreated(String appName, String busName)
appName
- The application's name.busName
- The name of the bus being bound to.This method is invoked when an application's AEP engine establishes a bus binding on the application's behalf.
void onAppBusBindingOpening(String appName, String busName)
appName
- The application's name.busName
- The name of the bus bound to.This method is invoked when an application's AEP engine commences opening a bus binding on the application's behalf.
void onAppBusBindingOpened(String appName, String busName)
appName
- The application's name.busName
- The name of the bus bound to.This method is invoked when an application's AEP engine successfully opens a bus binding on the application's behalf.
void onAppBusBindingFailed(String appName, String busName, String cause)
appName
- The application's name.busName
- The name of the bus bound to.cause
- A string containing a description of the cause of failure.This method is invoked when an application's AEP engine detects a failure in an application's bus binding.
void onAppBusBindingDestroyed(String appName, String busName)
appName
- The application's name.busName
- The name of the bus bound to.This method is invoked when an application's AEP engine tears down a bus binding opened on the application's behalf.
void onAppChannelOpened(String appName, String busName, String channelName, boolean joined)
appName
- The application's name.busName
- The name of the bus containing the channel.channelName
- The name of the channel.joined
- Indicates whether the channel was joined or not.This method is invoked when an application's AEP engine successfully opens a bus channel on the application's behalf.
void onAppChannelClosed(String appName, String busName, String channelName)
appName
- The application's name.busName
- The name of the bus containing the channel.channelName
- The name of the channel.This method is invoked when an application's AEP engine successfully closes a bus channel on the application's behalf.
void onAppClientConnected(String appName, String clientName)
appName
- The application's name.clientName
- The name of the connected client.void onAppClientDisconnected(String appName, String clientName)
appName
- The application's name.clientName
- The name of the disconnected client.void onAppFlowCreated(String appName, int flowid)
appName
- The application's name.flowid
- The flow id.void onAppStopped(String name)
name
- The stopped application's name.This method is invoked when an application's AEP engine is stopped.
void onAppUnloaded(String name)
name
- The unloaded application's name.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |