User: juhalindfors
Date: 01/12/12 15:39:23
Modified: src/main/javax/management/modelmbean
ModelMBeanInfoSupport.java
Log:
Revision Changes Path
1.2 +12 -13
jmx/src/main/javax/management/modelmbean/ModelMBeanInfoSupport.java
Index: ModelMBeanInfoSupport.java
===================================================================
RCS file:
/cvsroot/jboss/jmx/src/main/javax/management/modelmbean/ModelMBeanInfoSupport.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ModelMBeanInfoSupport.java 2001/12/10 17:24:35 1.1
+++ ModelMBeanInfoSupport.java 2001/12/12 23:39:23 1.2
@@ -26,7 +26,7 @@
* @see javax.management.modelmbean.ModelMBeanInfo
*
* @author <a href="mailto:[EMAIL PROTECTED]">Juha Lindfors</a>.
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class ModelMBeanInfoSupport
extends MBeanInfo
@@ -34,13 +34,16 @@
{
// Attributes ----------------------------------------------------
-
+ private Descriptor mbeanDescriptor = null;
+
// Constructors --------------------------------------------------
public ModelMBeanInfoSupport(ModelMBeanInfo mbi)
{
- // FIXME: NYI
- super("", "", null, null, null, null);
- throw new Error("NYI");
+ this(mbi.getClassName(), mbi.getDescription(),
+ (ModelMBeanAttributeInfo[])mbi.getAttributes(),
+ (ModelMBeanConstructorInfo[])mbi.getConstructors(),
+ (ModelMBeanOperationInfo[])mbi.getOperations(),
+ (ModelMBeanNotificationInfo[])mbi.getNotifications());
}
public ModelMBeanInfoSupport(String className, String description,
@@ -139,26 +142,22 @@
public MBeanAttributeInfo[] getAttributes()
{
- // FIXME: NYI
- throw new Error("NYI");
+ return super.getAttributes();
}
public MBeanOperationInfo[] getOperations()
{
- // FIXME: NYI
- throw new Error("NYI");
+ return super.getOperations();
}
public MBeanConstructorInfo[] getConstructors()
{
- // FIXME: NYI
- throw new Error("NYI");
+ return super.getConstructors();
}
public MBeanNotificationInfo[] getNotifications()
{
- // FIXME: NYI
- throw new Error("NYI");
+ return super.getNotifications();
}
public Descriptor getMBeanDescriptor() throws MBeanException,
RuntimeOperationsException
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development