[
http://jira.jboss.com/jira/browse/JBAS-2086?page=all ]
Dimitris Andreadis updated JBAS-2086:
-------------------------------------
Fix Version/s: (was: JBossAS-4.2.0.CR1)
Transform some Managed Objects in SMO
-------------------------------------
Key: JBAS-2086
URL:
http://jira.jboss.com/jira/browse/JBAS-2086
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Management services
Affects Versions: JBossAS-4.0.2 Final, JBossAS-4.0.3RC1
Environment: jmx, twiddle
Reporter: Fabiano C. de Oliveira
Priority: Minor
Attachments: management.patch
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.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira