This content has been marked as final.
Show 3 replies
-
1. Re: howto: expose application scope component with JMX?
gavin.king Jun 19, 2007 12:28 PM (in response to koenhandekyn)This is something that JBoss EJB3 provides, check the docs.
-
2. Re: howto: expose application scope component with JMX?
koenhandekyn Jun 19, 2007 3:13 PM (in response to koenhandekyn)as i had to look for a while to find what gavin was referring to, i think it is the below thing : 'service beans'
http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html
???any comment on service beans versus application scope session beans for holding configuration type of data??? -
3. Re: howto: expose application scope component with JMX?
koenhandekyn Jun 19, 2007 5:41 PM (in response to koenhandekyn)feature request to gavin :)
to inject a ' service ' bean you have to resort to the standard jboss provisioning wich looks like
private GlobalConfigurationMBean globalConfiguration;@Depends ("upr:service=globalConfiguration") public void setGlobalConfiguration(final GlobalConfigurationMBean globalConfiguration) { this.globalConfiguration = globalConfiguration; }
it would be nice to be able to add an @Name attribute to the service and inject it with @In