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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...