2 Replies Latest reply on Feb 25, 2013 3:52 AM by Nicklas Karlsson

    How to get the context root and all children of a deployed ear

    su_jbossuser Newbie

      Hi All,


      In Jboss 5 , we used to have something as follows:


      ManagedDeployment depl = managementView.getDeployment(repositoryname);

      List<ManagedDeployment> allChildren = depl.getChildren();


      for(ManagedDeployment d : allChildren)




                     ManagedProperty contextRootProp = d.getProperty("contextRoot");



      I am unable to find the equivalent classes in Jboss 7.1 -  do we have a way to get the contextroot and also the children of the deployed programatically?