ManagementRepr.java

00001 /*
00002  * JOnAS: Java(TM) Open Application Server
00003  * Copyright (C) 1999 Bull S.A.
00004  * Contact: jonas-team@objectweb.org
00005  * 
00006  * This library is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or any later version.
00010  * 
00011  * This library is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  * 
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with this library; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00019  * USA
00020  *
00021  * --------------------------------------------------------------------------
00022  * $Id: ManagementRepr.java,v 1.3 2004/03/19 14:31:49 sauthieg Exp $
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 }

Generated on Tue Feb 15 15:05:17 2005 for JOnAS by  doxygen 1.3.9.1