1 22 package org.jboss.management.j2ee; 23 24 import javax.management.MalformedObjectNameException ; 25 import javax.management.ObjectName ; 26 import java.security.InvalidParameterException ; 27 import java.util.Hashtable ; 28 29 35 public class AppClientModule extends J2EEModule 36 implements AppClientModuleMBean 37 { 38 39 41 43 45 47 54 public AppClientModule(String pName, ObjectName pApplication, String [] pJVMs, String pDeploymentDescriptor) 55 throws 56 MalformedObjectNameException , 57 InvalidParentException 58 { 59 super(J2EETypeConstants.AppClientModule, pName, pApplication, pJVMs, pDeploymentDescriptor); 60 } 61 62 64 66 public String toString() 67 { 68 return "AppClientModule { " + super.toString() + 69 " } []"; 70 } 71 72 74 76 79 protected Hashtable getParentKeys(ObjectName pParent) 80 { 81 Hashtable lReturn = new Hashtable (); 82 Hashtable lProperties = pParent.getKeyPropertyList(); 83 lReturn.put(J2EETypeConstants.J2EEApplication, lProperties.get("name")); 84 lReturn.put(J2EETypeConstants.J2EEServer, lProperties.get(J2EETypeConstants.J2EEServer)); 87 88 return lReturn; 89 } 90 91 93 95 } 96 | Popular Tags |