Add service reference binding to config registry.
[controller.git] / opendaylight / config / config-manager / src / test / java / org / opendaylight / controller / config / manager / testingservices / parallelapsp / TestingParallelAPSPConfigMXBean.java
1 /*
2  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8 package org.opendaylight.controller.config.manager.testingservices.parallelapsp;
9
10 import javax.management.ObjectName;
11
12 import org.opendaylight.controller.config.api.annotations.ServiceInterfaceAnnotation;
13
14 @ServiceInterfaceAnnotation(value = TestingParallelAPSPConfigMXBean.NAME, osgiRegistrationType = TestingAPSP.class,
15 namespace = "namespace", revision = "rev", localName = TestingParallelAPSPConfigMXBean.NAME)
16 public interface TestingParallelAPSPConfigMXBean {
17
18     static final String NAME = "apsp";
19
20     ObjectName getThreadPool();
21
22     void setThreadPool(ObjectName threadPoolName);
23
24     String getSomeParam();
25
26     void setSomeParam(String s);
27
28     // for reporting. this should be moved to runtime jmx bean
29     Integer getMaxNumberOfThreads();
30
31 }