10 Replies Latest reply on Feb 26, 2014 3:48 AM by hasnain raza

    get Default WorkManager JBoss 7.1.1

    iabughosh Master

      Dears,

      can i get JBoss 7.1 default work manager programmitically using MBeanServer class ?, i tried this but no use :

       

      MBeanServer server = ManagementFactory.getPlatformMBeanServer();

      return (WorkManager) server.getAttribute(new ObjectName("jboss.as:subsystem=jca,workmanager=default"), "Instance");

       

      thanks in advance.