Package org.nuxeo.runtime.management
Class ResourcePublisherService.ResourcesRegistry
- java.lang.Object
-
- org.nuxeo.runtime.management.ResourcePublisherService.ResourcesRegistry
-
- Enclosing class:
- ResourcePublisherService
protected class ResourcePublisherService.ResourcesRegistry extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ModelMBeanInfoFactory
mbeanInfoFactory
protected Map<ObjectName,Resource>
registry
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResourcesRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RequiredModelMBean
doBind(MBeanServer server, ObjectName name, Object instance, Class<?> clazz)
protected void
doBind(Resource resource)
protected void
doRegisterResource(String qualifiedName, Class<?> info, Object instance)
protected void
doRegisterResource(Resource resource)
protected void
doRegisterResource(ServiceDescriptor descriptor)
protected <T> T
doResolveService(Class<T> resourceClass, ServiceDescriptor descriptor)
protected Resource
doResolveServiceDescriptor(ServiceDescriptor descriptor)
protected ObjectName
doResolveServiceName(ServiceDescriptor descriptor)
protected void
doUnbind(Resource resource)
protected void
doUnregisterResource(String qualifiedName)
protected void
doUnregisterResource(ObjectName objectName)
protected void
doUnregisterResource(ServiceDescriptor descriptor)
protected void
doUnregisterResources()
-
-
-
Field Detail
-
registry
protected final Map<ObjectName,Resource> registry
-
mbeanInfoFactory
protected final ModelMBeanInfoFactory mbeanInfoFactory
-
-
Constructor Detail
-
ResourcesRegistry
protected ResourcesRegistry()
-
-
Method Detail
-
doRegisterResource
protected void doRegisterResource(String qualifiedName, Class<?> info, Object instance)
-
doRegisterResource
protected void doRegisterResource(ServiceDescriptor descriptor)
-
doBind
protected RequiredModelMBean doBind(MBeanServer server, ObjectName name, Object instance, Class<?> clazz) throws JMException, InvalidTargetObjectTypeException
-
doRegisterResource
protected void doRegisterResource(Resource resource)
-
doResolveServiceName
protected ObjectName doResolveServiceName(ServiceDescriptor descriptor)
-
doResolveServiceDescriptor
protected Resource doResolveServiceDescriptor(ServiceDescriptor descriptor)
-
doResolveService
protected <T> T doResolveService(Class<T> resourceClass, ServiceDescriptor descriptor)
-
doUnregisterResources
protected void doUnregisterResources()
-
doUnregisterResource
protected void doUnregisterResource(ServiceDescriptor descriptor)
-
doUnregisterResource
protected void doUnregisterResource(String qualifiedName)
-
doUnregisterResource
protected void doUnregisterResource(ObjectName objectName)
-
-