Merge "Bug 2932: NPE on bundle activation"
[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 import org.opendaylight.controller.config.api.annotations.ServiceInterfaceAnnotation;
12
13 @ServiceInterfaceAnnotation(value = TestingParallelAPSPConfigMXBean.NAME, osgiRegistrationType = TestingAPSP.class,
14     namespace = "namespace", revision = "rev", localName = TestingParallelAPSPConfigMXBean.NAME)
15 public interface TestingParallelAPSPConfigMXBean {
16
17     static final String NAME = "apsp";
18
19     ObjectName getThreadPool();
20
21     void setThreadPool(ObjectName threadPoolName);
22
23     String getSomeParam();
24
25     void setSomeParam(String s);
26
27     // for reporting. this should be moved to runtime jmx bean
28     Integer getMaxNumberOfThreads();
29
30 }