1 23 24 29 30 package com.sun.enterprise.management.model; 31 32 import java.util.Set ; 33 import java.util.Iterator ; 34 import javax.management.ObjectName ; 35 36 public class AdminObjectResourceMdl extends J2EEResourceMdl { 37 38 private static String MANAGED_OBJECT_TYPE = "AdminObjectResource"; 39 40 String resourceAdapter = null; 41 String resType = null; 42 String [] propNames = null; 43 String [] propValues = null; 44 45 public AdminObjectResourceMdl(String name, String raName, String resType, 46 String [] propNames, String [] propValues) { 47 super(name); 48 resourceAdapter = raName; 49 this.resType = resType; 50 this.propNames = propNames; 51 this.propValues = propValues; 52 } 53 public AdminObjectResourceMdl(String name, String serverName, String raName, String resType, 54 String [] propNames, String [] propValues) { 55 super(name, serverName); 56 resourceAdapter = raName; 57 this.resType = resType; 58 this.propNames = propNames; 59 this.propValues = propValues; 60 } 61 62 66 public String getj2eeType() { 67 return MANAGED_OBJECT_TYPE; 68 } 69 81 82 public String getresourceAdapter() { 83 return resourceAdapter; 84 } 85 86 public String getresType() { 87 return resType; 88 } 89 public String [] getpropNames() { 90 return propNames; 91 } 92 93 public String [] getpropValues() { 94 return propValues; 95 } 96 } 97 | Popular Tags |