[ http://jira.jboss.com/jira/browse/JBAS-1365?page=history ]
     
Dimitris Andreadis closed JBAS-1365:
------------------------------------

     Resolution: Done
    Fix Version: JBossAS-4.0.2 Final
                 JBossAS-5.0 Alpha
                  JBossAS-3.2.8 Final

The filter mechanism has been extended to support specification of arbitrary 
filters, using dynamic filter factory plugins implementing the 
NotificationFilterFactory interface. Three filter factories corresponding to 
the "standard" jmx notification filters are supplied by default in package 
org.jboss.system.filterfactory.

For example:

  +  <attribute name="SubscriptionList">
  +    <subscription-list>
  +      <mbean name="jboss.system:*">
  +        <filter factory="NotificationFilterSupportFactory">
  +          <enable type="org.jboss.system.ServiceMBean.start"/>
  +          <enable type="org.jboss.system.ServiceMBean.stop"/>
  +        </filter>
  +      </mbean>
  +      <mbean name="jboss.monitor:service=MemoryMonitor">
  +        <filter factory="AttributeChangeNotificationFilterFactory">
  +          <enable attribute-name="State"/>
  +        </filter>
  +      </mbean>        
  +      <mbean name="JMImplementation:type=MBeanServerDelegate">
  +        <filter factory="MBeanServerNotificationFilterFactory">
  +          <enable type="JMX.mbean"/>
  +          <enable object-name="jboss:type=Service,name=SystemProperties"/>
  +        </filter>
  +      </mbean>
  +    </subscription-list>
  +  </attribute>

> Allow arbitrary creation of filters in ListenerServiceMBeanSupport
> ------------------------------------------------------------------
>
>          Key: JBAS-1365
>          URL: http://jira.jboss.com/jira/browse/JBAS-1365
>      Project: JBoss Application Server
>         Type: Feature Request
>   Components: JMX
>  Environment: system/src/main/org/jboss/system/ListenerServiceMBeanSupport
>     Reporter: Dimitris Andreadis
>     Assignee: Dimitris Andreadis
>     Priority: Optional
>      Fix For: JBossAS-5.0 Alpha, JBossAS-4.0.2 Final,  JBossAS-3.2.8 Final

>
> Original Estimate: 1 day
>         Remaining: 1 day
>
> Allow arbritrary creation of NotificationFilters when subscribing for 
> notifications. Currently, only NotificationFilterSupport is suppported.
> We should at least add the 2 other standard filters, 
> AttributeChangeNotificationFilter & MBeanServerNotificationFilter
> We'll do it through a factory mechanism, because each filter is initialized 
> in a different way, eg:
>   <subscription-list>
>     <mbean name="JMImplementation:type=MBeanServerDelegate">
>       <filter factory="MBeanServerNotificationFilterFactory">
>          <objectname>bla bla </objectname>
>       </filter>
>     </mbean>
>   </subscription-list>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to