Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02

weblogic.management
Class DeploymentNotificationFilter

java.lang.Object
  extended by weblogic.management.DeploymentNotificationFilter
All Implemented Interfaces:
Serializable, NotificationFilter

public class DeploymentNotificationFilter
extends Object
implements NotificationFilter, Serializable

See Also:
Serialized Form

Constructor Summary
DeploymentNotificationFilter()
          Constructs a convenience filter for DeploymentNotification's.
DeploymentNotificationFilter(String targetName, String moduleName, boolean appFilter, boolean moduleFilter)
          Constructs a convenience filter for DeploymentNotification's.
 
Method Summary
 boolean isNotificationEnabled(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(String targetName,
                                    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(Notification n)
Specified by:
isNotificationEnabled in interface NotificationFilter

Documentation is available at
http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm
Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Oracle WebLogic Server 10.3.1 API Reference
11g Release 1 (10.3.1)

Part Number E13941-02