Hi,
I am trying to use Spring to eliminate the need to use SAR XML method descriptors for MBeans (like the following:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mbean PUBLIC "-//JBoss//DTD JBOSS XMBEAN 1.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_0.dtd"> <mbean> <description>Some Services</description> <descriptors> <persistence persistPolicy="Never"/> <currencyTimeLimit value="0"/> <state-action-on-update value="keep-running"/> </descriptors> <class>package a.b.AServicesImpl</class> <operation impact="ACTION"> <description>Does something</description> <name>doSomething</name> <parameter> <description>name</description> <name>name</name> <type>java.lang.String</type> </parameter>...),
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> <beans> <bean id="aServices" class="a.b.AServicesImpl"/> </beans>
"dima.frid" wrote:
But I do not see this bean in JBoss JMX management console.