BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management
Class DeploymentNotificationFilter

java.lang.Object
  |
  +--weblogic.management.DeploymentNotificationFilter

public class DeploymentNotificationFilter
extends java.lang.Object
implements javax.management.NotificationFilter, java.io.Serializable

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.
See Also:
Serialized Form

Constructor Summary
DeploymentNotificationFilter()
          Constructs a convenience filter for DeploymentNotification's.
DeploymentNotificationFilter(java.lang.String targetName, java.lang.String moduleName, boolean appFilter, boolean moduleFilter)
          Constructs a convenience filter for DeploymentNotification's.
 
Method Summary
 boolean isNotificationEnabled(javax.management.Notification n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeploymentNotificationFilter

public DeploymentNotificationFilter()
Constructs a convenience filter for DeploymentNotification's. These notifications are generated from ApplicationMBean objects as defined by JMX. This filter allows any DeploymentNotification to result in a callback to the listener, regardless of the deployment target, module name, or type of deployment notification: application or module.

DeploymentNotifications are generated on the local ApplicationMBean and its parent version on the admin server.


DeploymentNotificationFilter

public DeploymentNotificationFilter(java.lang.String targetName,
                                    java.lang.String moduleName,
                                    boolean appFilter,
                                    boolean moduleFilter)
Constructs a convenience filter for DeploymentNotification's. These notifications are generated from ApplicationMBean objects as defined by JMX. This filter allows any DeploymentNotification to result in a callback to the listener, based on the arguments.

DeploymentNotifications are generated on the local ApplicationMBean and its parent version on the admin server.

Parameters:
targetName - if not null, the notification is only enabled if the associated target names match; ie if the deployment event occurred on the named server.
moduleName - if not null, the notification is only enabled if the associated module names match; ie if the deployment event occurred to the named module.
appFilter - if true, application level notifications are enabled.
moduleFilter - if true, module level notifications are enabled.
Method Detail

isNotificationEnabled

public boolean isNotificationEnabled(javax.management.Notification n)
Specified by:
isNotificationEnabled in interface javax.management.NotificationFilter


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81