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 Details

    • DefaultApplicationMonitoringInformation

      public DefaultApplicationMonitoringInformation(Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges)
      Parameters:
      notificationsToMonitor -
      listenForRootStructuralChanges -
  • Method Details

    • getNotificationsToMonitor

      public 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 interface ApplicationMonitoringInformation
      Returns:
    • isListeningForRootStructuralChanges

      public boolean isListeningForRootStructuralChanges()
      Returns 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.
      Specified by:
      isListeningForRootStructuralChanges in interface ApplicationMonitoringInformation
      Returns: