-
Feature Request
-
Resolution: Obsolete
-
Minor
-
JBossAS-4.0.2 Final, JBossAS-4.0.3RC1
-
None
Make managed objects that inherits from J2EEDeployedObject a SMO. The exception is WebModule and ServiceModule for a while.
To prevent copy&paste pattern and duplicate code the StateManagement code was moved to ManagedObject class. Instead initialize states using ServiceMBean ServiceContext was used(Adrian advice). This form MBeans tha not implement ServiceMBean not launch a exception. Tested using jmx-console and trace logs only.
Some managed object still are not a SMO, but it is not difficult to change this.
Suggestions always appreciated.
- is related to
-
JBAS-2082 IllegalArgumentException Unable to find operation getState()
- Closed