Initial code drop of yang model driven configuration system
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / parallelapsp / TestingParallelAPSPConfigMXBean.java
diff --git a/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/parallelapsp/TestingParallelAPSPConfigMXBean.java b/opendaylight/config/config-manager/src/test/java/org/opendaylight/controller/config/manager/testingservices/parallelapsp/TestingParallelAPSPConfigMXBean.java
new file mode 100644 (file)
index 0000000..4fd2f5f
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
+ *
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ */
+package org.opendaylight.controller.config.manager.testingservices.parallelapsp;
+
+import javax.management.ObjectName;
+
+import org.opendaylight.controller.config.api.annotations.ServiceInterfaceAnnotation;
+
+@ServiceInterfaceAnnotation(value = TestingParallelAPSPConfigMXBean.NAME, osgiRegistrationType = TestingAPSP.class)
+public interface TestingParallelAPSPConfigMXBean {
+
+    static final String NAME = "apsp";
+
+    ObjectName getThreadPool();
+
+    void setThreadPool(ObjectName threadPoolName);
+
+    String getSomeParam();
+
+    void setSomeParam(String s);
+
+    // for reporting. this should be moved to runtime jmx bean
+    Integer getMaxNumberOfThreads();
+
+}