public class DefaultApplicationMonitoringInformation extends java.lang.Object implements ApplicationMonitoringInformation
ApplicationMonitoringInformation
Constructor and Description |
---|
DefaultApplicationMonitoringInformation(java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor,
boolean listeningForRootStructuralChanges) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> |
getNotificationsToMonitor()
Returns a collection of notification objects that define which paths in which containers should be monitored for this application.
|
boolean |
isListeningForRootStructuralChanges()
Returns
true if additions and deletions from the root element of this application should trigger the application to be updated. |
public DefaultApplicationMonitoringInformation(java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges)
notificationsToMonitor
- listenForRootStructuralChanges
- public java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> getNotificationsToMonitor()
getNotificationsToMonitor
in interface ApplicationMonitoringInformation
public boolean isListeningForRootStructuralChanges()
true
if additions and deletions from the root element of this application should trigger the application to be updated. As an example, this can be
useful to listen to WAR files being added to the root of an EAR without having to recursively listen to the whole EAR.isListeningForRootStructuralChanges
in interface ApplicationMonitoringInformation