[jboss-user] [Management, JMX/JBoss] - Adding new attribute to JBoss-Service.xml
mehulvyas
do-not-reply at jboss.com
Thu Jul 20 02:59:17 EDT 2006
Hello,
I am having JBoss-service.xml as follows:
<mbean code="uk.co.fresca.utils.schedules.GenericOrdersExport"
| name=":name=OrderPlacer">
| </mbean>
| <mbean code="org.jboss.varia.scheduler.Scheduler"
| name=":service=Scheduler,name=OrderPlacer">
| <attribute name="StartAtStartup">true</attribute>
| <attribute name="SchedulableMBean">:name=OrderPlacer</attribute>
| <attribute name="SchedulableMBeanMethod">perform( NOTIFICATION, DATE, REPETITIONS, SCHEDULER_NAME )</attribute>
| <attribute name="InitialStartDate">NOW</attribute>
| <attribute name="SchedulePeriod">300000</attribute>
| <attribute name="InitialRepetitions">-1</attribute>
| <attribute name="DateFormat">dd/MM/yyyy HH:mm</attribute>
| <atribute name="EXPORT_TYPE">TLOG_EXPORT</atribute>
| </mbean>
I want to use this new attribute EXPORT_TYPE and its value in my implementation class. Can anyone suggest me how to go about it ? I already have a getter and setter in my MBean.
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959446#3959446
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959446
More information about the jboss-user
mailing list