1 25 26 package org.objectweb.jonas.jmx; 27 28 import java.util.Properties ; 29 import java.util.Set ; 30 31 import javax.management.AttributeList ; 32 import javax.management.MBeanInfo ; 33 import javax.management.ObjectName ; 34 import javax.naming.Context ; 35 import javax.naming.NamingException ; 36 37 42 public interface ManagementRepr { 43 44 47 public boolean isRegistered(ObjectName on) ; 48 49 54 public Object getAttribute(ObjectName on, String attribute) 55 throws ManagementException ; 56 57 62 public AttributeList getAttributes(ObjectName on, String [] attributes) 63 throws ManagementException ; 64 65 70 public void setAttribute(ObjectName on, String attribute, Object value) 71 throws ManagementException; 72 73 78 public AttributeList setAttributes(ObjectName on, AttributeList attributes) 79 throws ManagementException; 80 81 84 public Object invoke(ObjectName on, String operation, Object [] param, String [] signature) 85 throws ManagementException; 86 87 90 public java.util.Set queryNames(ObjectName on) 91 throws ManagementException; 92 93 97 public MBeanInfo getMBeanInfo(ObjectName name) throws ManagementException; 98 99 102 public Context getContext() throws NamingException ; 103 104 107 public String getCurrentRMIConnectorName(); 108 109 112 public void setCurrentRMIConnectorName(String name) throws Exception ; 113 114 117 public void resetCurrentRMIConnectorName(); 118 119 122 public Set getRMIConnectorsNames() throws NamingException ; 123 124 127 public String getJonasNamingServiceURL(); 128 129 132 public void setJonasNamingServiceURL(String url) throws NamingException ; 133 134 137 public void setNamingEnvCtx(Properties env) throws javax.naming.NamingException ; 138 } 139 | Popular Tags |