com.ibm.wsspi.application.handler
Class DefaultApplicationMonitoringInformation

java.lang.Object
  extended by com.ibm.wsspi.application.handler.DefaultApplicationMonitoringInformation
All Implemented Interfaces:
ApplicationMonitoringInformation

public class DefaultApplicationMonitoringInformation
extends java.lang.Object
implements ApplicationMonitoringInformation

Default implementation of ApplicationMonitoringInformation


Constructor Summary
DefaultApplicationMonitoringInformation(java.util.Collection<com.ibm.wsspi.adaptable.module.Notifier.Notification> notificationsToMonitor, boolean listeningForRootStructuralChanges)
           
 
Method Summary
 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: