1 23 24 package com.sun.enterprise.admin.server.core.mbean.config; 25 26 import javax.management.*; 28 29 import com.sun.enterprise.config.ConfigException; 31 import com.sun.enterprise.config.serverbeans.ServerTags; 32 import com.sun.enterprise.config.serverbeans.ServerXPathHelper; 33 34 35 import com.sun.enterprise.admin.common.ObjectNames; 37 import com.sun.enterprise.admin.common.exception.MBeanConfigException; 38 import com.sun.enterprise.admin.common.constant.ConfigAttributeName; 39 40 46 public class ManagedHTTPAcl extends ConfigMBeanBase implements ConfigAttributeName.Acl 47 { 48 51 private static final String [][] MAPLIST = 52 { 53 {kId , ATTRIBUTE + ServerTags.ID}, 54 {kFile , ATTRIBUTE + ServerTags.FILE}, 55 }; 56 59 private static final String [] ATTRIBUTES = 60 { 61 kId + ", String, R" , 62 kFile + ", String, RW" , 63 }; 64 67 private static final String [] OPERATIONS = null; 68 69 70 73 public ManagedHTTPAcl() throws MBeanConfigException 74 { 75 this.setDescriptions(MAPLIST, ATTRIBUTES, OPERATIONS); 76 } 77 78 82 public ManagedHTTPAcl(String instanceName, String aclId) throws MBeanConfigException 83 { 84 this(); 85 initialize(ObjectNames.kAclType, new String []{instanceName, aclId}); 86 } 87 } | Popular Tags |