User: juhalindfors
Date: 02/01/23 14:05:35
Modified: src/main/org/jboss/mx/modelmbean XMBean.java
Log:
removing unused code
Revision Changes Path
1.3 +0 -46 jmx/src/main/org/jboss/mx/modelmbean/XMBean.java
Index: XMBean.java
===================================================================
RCS file: /cvsroot/jboss/jmx/src/main/org/jboss/mx/modelmbean/XMBean.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XMBean.java 2002/01/16 11:34:09 1.2
+++ XMBean.java 2002/01/23 22:05:35 1.3
@@ -121,19 +121,6 @@
*/
}
- // MBeanRegistration implementation ------------------------------
- public ObjectName preRegister(MBeanServer server, ObjectName name) throws
Exception
- {
- // FIXME: this should be in the base
- this.stack = new ModelMBeanInterceptor(resource, metadata);
-
- return name;
- }
-
- public void postRegister(Boolean registrationSuccessful) { }
- public void preDeregister() throws Exception { }
- public void postDeregister() { }
-
// DynamicMBean implementation -----------------------------------
public MBeanInfo getMBeanInfo()
{
@@ -142,39 +129,6 @@
-
-/*
- private Map createAttributeMap(MBeanAttributeInfo[] attributes) throws
MBeanException, ReflectionException {
-
- Map attrMap = new HashMap();
-
- for (int i = 0; i < attributes.length; ++i) {
- String name = attributes[i].getName();
- ModelMBeanAttributeInfo info = (ModelMBeanAttributeInfo)attributes[i];
- attrMap.put(name, new XMBeanAttribute(this, info));
- }
-
- return attrMap;
- }
-
- private Map createOperationMap(MBeanOperationInfo[] operations) throws
MBeanException {
-
- Map operMap = new HashMap();
-
- for (int i = 0; i < operations.length; ++i) {
- String name = operations[i].getName();
- MBeanParameterInfo[] params = operations[i].getSignature();
-
- for (int j = 0; j < params.length; ++j)
- name += params[j].getType();
-
- ModelMBeanOperationInfo info = (ModelMBeanOperationInfo)operations[i];
- operMap.put(name, new XMBeanOperation(this, info));
- }
-
- return operMap;
- }
-*/
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development