2 Replies Latest reply on Jan 22, 2013 4:54 AM by clare

    How to get the information of deployed files in AS7?

    clare

      Hi All

       

      I met some problem in AS7 when I want to get the information of deployed files.

       

      In the previous version, I can get it 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);

       

       

      Is there somebody know how to get it in AS7?

       

      BRs

       

      Clare