[XDoclet-JIRA] Created: (XDT-1611) Support interceptors in JBoss XMBean descriptors

"Jasper Rosenberg (JIRA)" <[email protected]>
Newsgroups gmane.comp.java.xdoclet.devel
Message-ID <[email protected]>
Support interceptors in JBoss XMBean descriptors
------------------------------------------------

         Key: XDT-1611
         URL: http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1611
     Project: XDoclet
        Type: New Feature

  Components: JBoss Module  
    Versions: 1.3    
    Reporter: Jasper Rosenberg
 Assigned to: xdoclet-devel (Use for new issues) 
    Priority: Minor


This patch adds support for JBoss XMBean interceptors.

It adds a new jboss class level tag: jboss.xmbean-interceptor

This new tag can appear more than once, and takes a mandatory "code" parameter which is the name of the class that implements org.jboss.mx.interceptor.Interceptor.

An example use is:

/**
 * MBean for managing my configuration.
 * 
 * @jmx.mbean 
 *    name="myapp.jmx:service=MyConfig"
 *    description="MBean for managing my configuration"
 *    extends="org.jboss.system.ServiceMBean"
 *    persistence-manager="org.jboss.mx.persistence.DelegatingPersistenceManager"
 *    persistPolicy="OnUpdate"
 *    persistName="MyConfig"
 *
 * @jboss.xmbean
 * @jboss.xmbean-interceptor
 *      code="com.myco.common.framework.jmx.interceptor.AttributeExpansionInterceptor"
 * @jboss.xmbean-interceptor
 *      code="com.myco.common.framework.jmx.interceptor.UserModificationInterceptor"
 *
 * @jboss.service servicefile="jboss"
 * @jboss.depends object-name="common.jmx:service=CommonConfig"
 */

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.