[Ejtools-cvs] libraries/common/src/main/net/sourceforge/ejtools/jmx MBeanAccessor.java,1.7,1.8
Brought to you by:
letiemble
From: <let...@us...> - 2002-06-10 07:32:43
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx In directory usw-pr-cvs1:/tmp/cvs-serv9807/common/src/main/net/sourceforge/ejtools/jmx Modified Files: MBeanAccessor.java Log Message: Change Manifest and properties Index: MBeanAccessor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx/MBeanAccessor.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** MBeanAccessor.java 4 Jun 2002 06:35:31 -0000 1.7 --- MBeanAccessor.java 10 Jun 2002 07:32:40 -0000 1.8 *************** *** 1,109 **** ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! */ ! package net.sourceforge.ejtools.jmx; ! ! import javax.management.*; ! import javax.management.MBeanInfo; ! import javax.management.ObjectInstance; ! import javax.management.ObjectName; ! ! /** ! * Tag interface to be implemented by object that provides access to MBean informations ! * ! * @author letiemble ! * @created 11 avril 2002 ! * @version $Revision$ ! * @todo JavaDoc to complete ! */ ! public interface MBeanAccessor ! { ! /** ! * Gets the mBeanInfo attribute of the MBeanAccessor object ! * ! * @return The mBeanInfo value ! */ ! public MBeanInfo getMBeanInfo(); ! ! ! /** ! * Sets the attribute attribute of the MBeanAccessor object ! * ! * @param name The new attribute value ! * @param attribute The new attribute value ! */ ! public void setAttribute(ObjectName name, Attribute attribute); ! ! ! /** ! * Sets the attributes attribute of the MBeanAccessor object ! * ! * @param name The new attributes value ! * @param attributes The new attributes value ! * @return Description of the Return Value ! */ ! public AttributeList setAttributes(ObjectName name, AttributeList attributes); ! ! ! /** ! * Gets the objectName attribute of the MBeanAccessor object ! * ! * @return The objectName value ! */ ! public ObjectName getObjectName(); ! ! ! /** ! * Gets the canonicalName attribute of the MBeanAccessor object ! * ! * @return The canonicalName value ! */ ! public String getCanonicalName(); ! ! ! /** ! * Gets the attribute attribute of the MBeanAccessor object ! * ! * @param name Description of the Parameter ! * @param attribute Description of the Parameter ! * @return The attribute value ! */ ! public Object getAttribute(ObjectName name, String attribute); ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! * @param action Description of the Parameter ! * @param params Description of the Parameter ! * @param signatures Description of the Parameter ! * @return Description of the Return Value ! */ ! public Object invoke(ObjectName name, String action, Object[] params, String[] signatures); ! ! ! /** ! * Description of the Method ! * ! * @param className Description of the Parameter ! * @param name Description of the Parameter ! * @param loaderName Description of the Parameter ! * @param params Description of the Parameter ! * @param signature Description of the Parameter ! * @return Description of the Return Value ! */ ! public ObjectInstance createMBean(java.lang.String className, ObjectName name, ObjectName loaderName, java.lang.Object[] params, java.lang.String[] signature); ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! */ ! public void unregisterMBean(ObjectName name); ! } ! --- 1,95 ---- ! /* ! * EJTools, the Enterprise Java Tools ! * ! * Distributable under LGPL license. ! * See terms of license at gnu.org. ! */ ! package net.sourceforge.ejtools.jmx; ! ! import javax.management.*; ! import javax.management.MBeanInfo; ! import javax.management.ObjectInstance; ! import javax.management.ObjectName; ! ! /** ! * Tag interface to be implemented by object that provides access to MBean informations ! * ! * @author letiemble ! * @created 11 avril 2002 ! * @version $Revision$ ! * @todo JavaDoc to complete ! */ ! public interface MBeanAccessor ! { ! /** ! * Gets the mBeanInfo attribute of the MBeanAccessor object ! * ! * @return The mBeanInfo value ! */ ! public MBeanInfo getMBeanInfo(); ! ! ! /** ! * Sets the attribute attribute of the MBeanAccessor object ! * ! * @param name The new attribute value ! * @param attribute The new attribute value ! */ ! public void setAttribute(Attribute attribute) throws Exception; ! ! ! /** ! * Sets the attributes attribute of the MBeanAccessor object ! * ! * @param name The new attributes value ! * @param attributes The new attributes value ! * @return Description of the Return Value ! */ ! public AttributeList setAttributes(AttributeList attributes) throws Exception; ! ! ! /** ! * Gets the objectName attribute of the MBeanAccessor object ! * ! * @return The objectName value ! */ ! public ObjectName getObjectName(); ! ! ! /** ! * Gets the canonicalName attribute of the MBeanAccessor object ! * ! * @return The canonicalName value ! */ ! public String getCanonicalName(); ! ! ! /** ! * Gets the attribute attribute of the MBeanAccessor object ! * ! * @param name Description of the Parameter ! * @param attribute Description of the Parameter ! * @return The attribute value ! */ ! public Object getAttribute(String attribute) throws Exception; ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! * @param action Description of the Parameter ! * @param params Description of the Parameter ! * @param signatures Description of the Parameter ! * @return Description of the Return Value ! */ ! public Object invoke(String action, Object[] params, String[] signatures) throws Exception; ! ! ! /** ! * Description of the Method ! * ! * @param name Description of the Parameter ! */ ! public void unregisterMBean() throws Exception; ! } |