[jboss-dev-forums] [Management Development] - Re: Simple Example using ManagedObjects and ProfileService

rareddy do-not-reply at jboss.com
Thu Nov 12 18:54:44 EST 2009


Adding the "isRuntime=true" did the trick, now I see profile service invoking the bean correctly. Thank you.

I am using JBossAS 5.1, I just manually copied the -jboss-beans.xml file to deploy directory to deploy the bean.

I see that only beans that have @ManagementObject annotation + deployed through bean deployer (thru -jboss-bean.xml) file are accessible through the profile service. Is there a way I can build a bean with  @ManagementObject annotation but initialized through "new myBean()", some how injected into managed objects collection?

Thank you.

Ramesh..

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265372#4265372

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4265372



More information about the jboss-dev-forums mailing list