1 22 package org.jboss.management.j2ee; 23 24 import java.util.Hashtable ; 25 26 import javax.management.MalformedObjectNameException ; 27 import javax.management.ObjectName ; 28 29 35 public abstract class J2EEResource extends J2EEManagedObject 36 implements J2EEResourceMBean 37 { 38 43 public J2EEResource(String type, String name, ObjectName parentName) 44 throws MalformedObjectNameException , InvalidParentException 45 { 46 super(type, name, parentName); 47 } 48 49 51 57 protected Hashtable getParentKeys(ObjectName parentName) 58 { 59 Hashtable keys = new Hashtable (); 60 Hashtable properties = parentName.getKeyPropertyList(); 61 keys.put(J2EETypeConstants.J2EEServer, properties.get("name")); 62 63 return keys; 64 } 65 } 66 | Popular Tags |