00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026 package org.objectweb.jonas.jmx;
00027
00028 import java.util.Properties;
00029 import java.util.Set;
00030
00031 import javax.management.AttributeList;
00032 import javax.management.MBeanInfo;
00033 import javax.management.ObjectName;
00034 import javax.naming.Context;
00035 import javax.naming.NamingException;
00036
00042 public interface ManagementRepr {
00043
00047 public boolean isRegistered(ObjectName on) ;
00048
00054 public Object getAttribute(ObjectName on, String attribute)
00055 throws ManagementException ;
00056
00062 public AttributeList getAttributes(ObjectName on, String[] attributes)
00063 throws ManagementException ;
00064
00070 public void setAttribute(ObjectName on, String attribute, Object value)
00071 throws ManagementException;
00072
00078 public AttributeList setAttributes(ObjectName on, AttributeList attributes)
00079 throws ManagementException;
00080
00084 public Object invoke(ObjectName on, String operation, Object[] param, String[] signature)
00085 throws ManagementException;
00086
00090 public java.util.Set queryNames(ObjectName on)
00091 throws ManagementException;
00092
00097 public MBeanInfo getMBeanInfo(ObjectName name) throws ManagementException;
00098
00102 public Context getContext() throws NamingException;
00103
00107 public String getCurrentRMIConnectorName();
00108
00112 public void setCurrentRMIConnectorName(String name) throws Exception;
00113
00117 public void resetCurrentRMIConnectorName();
00118
00122 public Set getRMIConnectorsNames() throws NamingException;
00123
00127 public String getJonasNamingServiceURL();
00128
00132 public void setJonasNamingServiceURL(String url) throws NamingException;
00133
00137 public void setNamingEnvCtx(Properties env) throws javax.naming.NamingException;
00138 }