Package org.nuxeo.runtime.management
Class ResourcePublisherService.ResourcesRegistry
java.lang.Object
org.nuxeo.runtime.management.ResourcePublisherService.ResourcesRegistry
- Enclosing class:
- ResourcePublisherService
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ModelMBeanInfoFactory
protected final Map<ObjectName,
Resource> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RequiredModelMBean
doBind
(MBeanServer server, ObjectName name, Object instance, Class<?> clazz) protected void
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
protected void
doUnregisterResource
(String qualifiedName) protected void
doUnregisterResource
(ObjectName objectName) protected void
doUnregisterResource
(ServiceDescriptor descriptor) protected void
-
Field Details
-
registry
-
mbeanInfoFactory
-
-
Constructor Details
-
ResourcesRegistry
protected ResourcesRegistry()
-
-
Method Details
-
doRegisterResource
-
doRegisterResource
-
doBind
protected RequiredModelMBean doBind(MBeanServer server, ObjectName name, Object instance, Class<?> clazz) throws JMException, InvalidTargetObjectTypeException -
doBind
-
doUnbind
-
doRegisterResource
-
doResolveServiceName
-
doResolveServiceDescriptor
-
doResolveService
-
doUnregisterResources
protected void doUnregisterResources() -
doUnregisterResource
-
doUnregisterResource
-
doUnregisterResource
-