Class DefaultApplicationMonitoringInformation
- java.lang.Object
-
- com.ibm.wsspi.application.handler.DefaultApplicationMonitoringInformation
-
- All Implemented Interfaces:
ApplicationMonitoringInformation
public class DefaultApplicationMonitoringInformation extends java.lang.Object implements ApplicationMonitoringInformation
Default implementation ofApplicationMonitoringInformation
-
-
Constructor Summary
Constructors Constructor Description DefaultApplicationMonitoringInformation(java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
Returnstrue
if additions and deletions from the root element of this application should trigger the application to be updated.
-
-
-
Constructor Detail
-
DefaultApplicationMonitoringInformation
public DefaultApplicationMonitoringInformation(java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges)
- Parameters:
notificationsToMonitor
-listenForRootStructuralChanges
-
-
-
Method Detail
-
getNotificationsToMonitor
public 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.- Specified by:
getNotificationsToMonitor
in interfaceApplicationMonitoringInformation
- Returns:
-
isListeningForRootStructuralChanges
public boolean isListeningForRootStructuralChanges()
Returnstrue
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.- Specified by:
isListeningForRootStructuralChanges
in interfaceApplicationMonitoringInformation
- Returns:
-
-