Class DefaultApplicationMonitoringInformation
java.lang.Object
com.ibm.wsspi.application.handler.DefaultApplicationMonitoringInformation
- All Implemented Interfaces:
ApplicationMonitoringInformation
public class DefaultApplicationMonitoringInformation
extends Object
implements ApplicationMonitoringInformation
Default implementation of
ApplicationMonitoringInformation
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultApplicationMonitoringInformation
(Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges) -
Method Summary
Modifier and TypeMethodDescriptionCollection<com.ibm.wsspi.adaptable.module.Notifier.Notification>
Returns a collection of notification objects that define which paths in which containers should be monitored for this application.boolean
Returnstrue
if additions and deletions from the root element of this application should trigger the application to be updated.
-
Constructor Details
-
DefaultApplicationMonitoringInformation
public DefaultApplicationMonitoringInformation(Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges) - Parameters:
notificationsToMonitor
-listenForRootStructuralChanges
-
-
-
Method Details
-
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:
-