-
Feature Request
-
Resolution: Done
-
Major
-
JBossAS-4.0.2 Final
-
None
-
Documentation (Ref Guide, User Guide, etc.), Compatibility/Configuration
-
Medium
This patch add a Interceptor to org.jboss.jmx.connector.invoker.InvokerAdaptorService besides AuthenticationInterceptor that is responsable for prevent remote clients to launch NonSerializable exception.
The interception have 3 types of action: Invisible, Null and Wrapper.
In the Invisible mode all NonSerializable fields are ignored so if you call getMBeanInfo all NonSerializable will be remove and returned to your remote client(twiddle, MC4J, etc). This mode is more tested so it is recommended.
In the null mode NonSerializable fields are visible but always return Null.
The wraper mode is not implemented, but the idea is replace the NonSerializable Class for another
The interceptor is only a class. The tests are in the patch too. Only test for invisible mode. I´m still doing tests for the other modes.
Any idea is very appreciated. I dont have sufficient time to work more in this code. But I hope to do soon.
- blocks
-
JBAS-3616 failing test org.jboss.test.jmx.test.RMIAdaptorUnitTestCase
- Closed
-
JBAS-4288 Backport-XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions to Branch_4_0
- Closed
-
JBAS-4323 XMBean Interceptor for InvokerAdaptorService to deal with NonSerializableExceptions - twiddle getAttributes
- Closed
-
JBAS-3959 Error obtaining some MBeanInfo instances via RMIAdaptor--NotSerializableException: org.jboss.deployment.scanner.DeploymentFilter
- Closed
- is related to
-
JBAS-1939 MBean getAttribute() launch NotSerializableException when invoked from a remote client
- Closed