[jboss-user] [Beginners Corner] - Re: How to get a WorkManager from a Bean

weston.price@jboss.com do-not-reply at jboss.com
Wed Jan 31 11:27:30 EST 2007


Again, the WorkManager is reserved for ResourceAdapters (ie JCA deployments) it is not available via JNDI or to any other type of application component. 

The documentation link you posted is relevant to JCA not as a general solution for all application components.

Technically, there is nothing to prevent you from getting the WorkManager via JMX (as per the example below), but this is not standard and not portable. In other words, you shouldn't really be doing this. A generalized WorkManagement API has been submitted as a JSR (237)

http://jcp.org/en/jsr/detail?id=237

However, it is currently in limbo right now due to legal disputes between the major vendors involved. 

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

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



More information about the jboss-user mailing list