[Ejtools-cvs] CVS: libraries/common/src/main/net/sourceforge/ejtools/jmx MBeanAccessor.java,1.3,1.4
Brought to you by:
letiemble
From: Laurent E. <let...@us...> - 2002-05-02 19:25:57
|
Update of /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx In directory usw-pr-cvs1:/tmp/cvs-serv1397/common/src/main/net/sourceforge/ejtools/jmx Modified Files: MBeanAccessor.java ObjectNameFinder.java Log Message: Add some JavaDocs Index: MBeanAccessor.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx/MBeanAccessor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** MBeanAccessor.java 30 Apr 2002 21:07:37 -0000 1.3 --- MBeanAccessor.java 2 May 2002 19:25:53 -0000 1.4 *************** *** 13,44 **** /** ! * Description of the Interface * ! * @author laurent ! * @created 11 avril 2002 */ public interface MBeanAccessor { /** ! * 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); /** ! * Gets the mBeanInfo attribute of the MBeanAccessor object * ! * @return The mBeanInfo value */ ! public MBeanInfo getMBeanInfo(); /** ! * Gets the objectName attribute of the MBeanAccessor object * ! * @return The objectName value */ public ObjectName getObjectName(); --- 13,47 ---- /** ! * 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); /** ! * Gets the objectName attribute of the MBeanAccessor object * ! * @return The objectName value */ public ObjectName getObjectName(); *************** *** 46,52 **** /** ! * Gets the canonicalName attribute of the MBeanAccessor object * ! * @return The canonicalName value */ public String getCanonicalName(); --- 49,55 ---- /** ! * Gets the canonicalName attribute of the MBeanAccessor object * ! * @return The canonicalName value */ public String getCanonicalName(); *************** *** 54,62 **** /** ! * 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); --- 57,65 ---- /** ! * 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); *************** *** 64,74 **** /** ! * 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); --- 67,77 ---- /** ! * 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); *************** *** 76,87 **** /** ! * 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); --- 79,90 ---- /** ! * 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); *************** *** 89,98 **** /** ! * Description of the Method * ! * @param name Description of the Parameter */ public void unregisterMBean(ObjectName name); } - --- 92,100 ---- /** ! * Description of the Method * ! * @param name Description of the Parameter */ public void unregisterMBean(ObjectName name); } Index: ObjectNameFinder.java =================================================================== RCS file: /cvsroot/ejtools/libraries/common/src/main/net/sourceforge/ejtools/jmx/ObjectNameFinder.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ObjectNameFinder.java 30 Apr 2002 21:07:37 -0000 1.2 --- ObjectNameFinder.java 2 May 2002 19:25:53 -0000 1.3 *************** *** 8,24 **** /** ! * Description of the Interface * ! * @author laurent ! * @created 11 avril 2002 */ public interface ObjectNameFinder { /** ! * Description of the Method * ! * @param objectName Description of Parameter */ public void searchObjectName(String objectName); } - --- 8,25 ---- /** ! * Interface implemented by structure that allows ObjectName search by canonical ! * string. * ! * @author letiemble ! * @created 11 avril 2002 ! * @version $Revision$ */ public interface ObjectNameFinder { /** ! * Search an ObjectName by its canonical string * ! * @param objectName Canonical value of the ObjectName to search */ public void searchObjectName(String objectName); } |