You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by jr...@apache.org on 2010/08/06 05:39:07 UTC
svn commit: r982860 -
/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/instrumentation/jmx/DataCacheJMXInstrument.java
Author: jrbauer
Date: Fri Aug 6 03:39:07 2010
New Revision: 982860
URL: http://svn.apache.org/viewvc?rev=982860&view=rev
Log:
OPENJPA-1739 Remove unnecessary dynamic mbean methods
Modified:
openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/instrumentation/jmx/DataCacheJMXInstrument.java
Modified: openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/instrumentation/jmx/DataCacheJMXInstrument.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/instrumentation/jmx/DataCacheJMXInstrument.java?rev=982860&r1=982859&r2=982860&view=diff
==============================================================================
--- openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/instrumentation/jmx/DataCacheJMXInstrument.java (original)
+++ openjpa/trunk/openjpa-kernel/src/main/java/org/apache/openjpa/instrumentation/jmx/DataCacheJMXInstrument.java Fri Aug 6 03:39:07 2010
@@ -18,15 +18,7 @@
*/
package org.apache.openjpa.instrumentation.jmx;
-import javax.management.Attribute;
-import javax.management.AttributeList;
-import javax.management.AttributeNotFoundException;
-import javax.management.InvalidAttributeValueException;
-import javax.management.MBeanException;
-import javax.management.MBeanInfo;
import javax.management.ObjectName;
-import javax.management.DynamicMBean;
-import javax.management.ReflectionException;
import org.apache.openjpa.conf.OpenJPAConfiguration;
import org.apache.openjpa.datacache.DataCache;
@@ -104,38 +96,4 @@ public class DataCacheJMXInstrument exte
public void stop() {
getProvider().stopInstrument(this);
}
-
- public Object getAttribute(String attribute)
- throws AttributeNotFoundException, MBeanException, ReflectionException {
- // TODO Auto-generated method stub
- return null;
- }
-
- public AttributeList getAttributes(String[] attributes) {
- // TODO Auto-generated method stub
- return null;
- }
-
- public MBeanInfo getMBeanInfo() {
- // TODO Auto-generated method stub
- return null;
- }
-
- public Object invoke(String actionName, Object[] params, String[] signature)
- throws MBeanException, ReflectionException {
- // TODO Auto-generated method stub
- return null;
- }
-
- public void setAttribute(Attribute attribute)
- throws AttributeNotFoundException, InvalidAttributeValueException,
- MBeanException, ReflectionException {
- // TODO Auto-generated method stub
-
- }
-
- public AttributeList setAttributes(AttributeList attributes) {
- // TODO Auto-generated method stub
- return null;
- }
}