3 Replies Latest reply on Feb 7, 2013 4:12 PM by Jochen Cordes

    How to get the information of deployed files in AS 7?

    Clare Wang Newbie

      Hi all

       

      In the JBoss 6, I can get the information of deployed files from the Management Bean.

       

      ObjectName servName = new ObjectName("jboss.management.local:j2eeType=J2EEServer,name=Local");

      String[] deployedPkgs;

      deployedPkgs = (String[]) server.getAttribute(servName, "deployedObjects");           

      System.out.println("DeployPkgs: " +deployedPkgs.length);

       

      But how to get it in the AS 7?