com.ibm.wsspi.application.handler

Class DefaultApplicationMonitoringInformation

  • java.lang.Object
    • com.ibm.wsspi.application.handler.DefaultApplicationMonitoringInformation
    • Constructor Summary

      Constructors 
      Constructor and 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 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 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: