[jboss-cvs] JBossAS SVN: r59448 - branches/Branch_4_2/server/src/resources/jmx-invoker-adaptor/META-INF.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Jan 9 14:05:57 EST 2007


Author: dimitris at jboss.org
Date: 2007-01-09 14:05:54 -0500 (Tue, 09 Jan 2007)
New Revision: 59448

Modified:
   branches/Branch_4_2/server/src/resources/jmx-invoker-adaptor/META-INF/jboss-service.xml
Log:
JBAS-1955, xmbean interceptor for the jmx adapter dealing with non-serializable results

Modified: branches/Branch_4_2/server/src/resources/jmx-invoker-adaptor/META-INF/jboss-service.xml
===================================================================
--- branches/Branch_4_2/server/src/resources/jmx-invoker-adaptor/META-INF/jboss-service.xml	2007-01-09 18:57:33 UTC (rev 59447)
+++ branches/Branch_4_2/server/src/resources/jmx-invoker-adaptor/META-INF/jboss-service.xml	2007-01-09 19:05:54 UTC (rev 59448)
@@ -109,16 +109,20 @@
                <type>org.jboss.invocation.Invocation</type>
             </parameter>
             <return-type>java.lang.Object</return-type>
-            <!-- Uncomment to require authenticated users
             <descriptors>
                <interceptors>
+                  <!-- Uncomment to require authenticated users
                   <interceptor code="org.jboss.jmx.connector.invoker.AuthenticationInterceptor"
                      securityDomain="java:/jaas/jmx-console"/>
+                  -->               
+                  <!-- Interceptor that deals with non-serializable results -->
+                  <interceptor code="org.jboss.jmx.connector.invoker.SerializableInterceptor"
+                     policyClass="StripModelMBeanInfoPolicy"/>
                </interceptors>
-            </descriptors>
-            -->
+            </descriptors>            
          </operation>
       </xmbean>
+      
       <attribute name="ExportedInterfaces">org.jboss.jmx.adaptor.rmi.RMIAdaptor,
          org.jboss.jmx.adaptor.rmi.RMIAdaptorExt
       </attribute>




More information about the jboss-cvs-commits mailing list