public class ModuleMXBeanEntry extends AbstractEntry
identity threadpool-dynamic {
base config:module-type;
description "threadpool-dynamic description";
config:provided-service "th2:threadpool";
config:provided-service "th2:scheduled-threadpool";
config:java-name-prefix DynamicThreadPool
}
augment "/config:modules/config:module/config:module-type" {
case threadpool-dynamic {
when "/config:modules/config:module/config:module-type = 'threadpool-dynamic'";
container "configuration" {
// regular java attribute
leaf core-size {
type uint32;
}
...
// dependency
container threadfactory {
uses config:service-ref {
refine type {
config:required-identity th:threadfactory;
}
}
}
}
}
getYangModuleLocalname, getYangModuleName, setYangModuleLocalname, setYangModuleNamepublic String getMXBeanInterfaceName()
public String getStubFactoryName()
public String getAbstractFactoryName()
public String getStubModuleName()
public String getAbstractModuleName()
public String getGloballyUniqueName()
public String getPackageName()
public Map<String,org.opendaylight.yangtools.yang.common.QName> getProvidedServices()
public void setRuntimeBeans(Collection<RuntimeBeanEntry> newRuntimeBeans)
public Collection<RuntimeBeanEntry> getRuntimeBeans()
public String getJavaNamePrefix()
public String getNamespace()
public static Map<String,ModuleMXBeanEntry> create(org.opendaylight.yangtools.yang.model.api.Module currentModule, Map<org.opendaylight.yangtools.yang.common.QName,ServiceInterfaceEntry> qNamesToSIEs, org.opendaylight.yangtools.yang.model.api.SchemaContext schemaContext, TypeProviderWrapper typeProviderWrapper, String packageName)
public Map<String,AttributeIfc> getAttributes()
public String getNullableDescription()
public org.opendaylight.yangtools.yang.common.QName getYangModuleQName()
public String getNullableDummyContainerName()
public void setNullableDummyContainerName(String nullableDummyContainerName)
Copyright © 2019 OpenDaylight. All rights reserved.