hivemind-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahue...@apache.org
Subject svn commit: r396010 - /jakarta/hivemind/trunk/jmx/src/test/org/apache/hivemind/management/MBeanNonInterfaceTestService.java
Date Fri, 21 Apr 2006 21:35:52 GMT
Author: ahuegen
Date: Fri Apr 21 14:35:52 2006
New Revision: 396010

URL: http://svn.apache.org/viewcvs?rev=396010&view=rev
Log:
Fix and test case for Hivemind-171: JMX Support does not work if you use the class directly
as the interface

Added:
    jakarta/hivemind/trunk/jmx/src/test/org/apache/hivemind/management/MBeanNonInterfaceTestService.java

Added: jakarta/hivemind/trunk/jmx/src/test/org/apache/hivemind/management/MBeanNonInterfaceTestService.java
URL: http://svn.apache.org/viewcvs/jakarta/hivemind/trunk/jmx/src/test/org/apache/hivemind/management/MBeanNonInterfaceTestService.java?rev=396010&view=auto
==============================================================================
--- jakarta/hivemind/trunk/jmx/src/test/org/apache/hivemind/management/MBeanNonInterfaceTestService.java
(added)
+++ jakarta/hivemind/trunk/jmx/src/test/org/apache/hivemind/management/MBeanNonInterfaceTestService.java
Fri Apr 21 14:35:52 2006
@@ -0,0 +1,39 @@
+// Copyright 2005 The Apache Software Foundation
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+package org.apache.hivemind.management;
+
+/**
+ * Used for testing if non interface classes can be registered as mben.
+ * 
+ * @author Achim Huegen
+ * @since 1.2
+ */
+public class MBeanNonInterfaceTestService
+{
+    private int value;
+
+    public void run()
+    {
+    }
+
+	public int getValue() {
+		return value;
+	}
+
+	public void setValue(int value) {
+		this.value = value;
+	}
+
+}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-cvs-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-cvs-help@jakarta.apache.org


Mime
View raw message