protected class ResourcePublisherService.ResourcesRegistry extends Object
Modifier and Type | Field and Description |
---|---|
protected ModelMBeanInfoFactory |
mbeanInfoFactory |
protected Map<ObjectName,Resource> |
registry |
Modifier | Constructor and Description |
---|---|
protected |
ResourcesRegistry() |
Modifier and Type | Method and Description |
---|---|
protected RequiredModelMBean |
doBind(MBeanServer server,
ObjectName name,
Object instance,
Class<?> clazz) |
protected void |
doBind(Resource resource) |
protected void |
doRegisterResource(Resource resource) |
protected void |
doRegisterResource(ServiceDescriptor descriptor) |
protected void |
doRegisterResource(String qualifiedName,
Class<?> info,
Object instance) |
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(ObjectName objectName) |
protected void |
doUnregisterResource(ServiceDescriptor descriptor) |
protected void |
doUnregisterResource(String qualifiedName) |
protected void |
doUnregisterResources() |
protected final Map<ObjectName,Resource> registry
protected final ModelMBeanInfoFactory mbeanInfoFactory
protected ResourcesRegistry()
protected void doRegisterResource(String qualifiedName, Class<?> info, Object instance)
protected void doRegisterResource(ServiceDescriptor descriptor)
protected RequiredModelMBean doBind(MBeanServer server, ObjectName name, Object instance, Class<?> clazz) throws JMException, InvalidTargetObjectTypeException
protected void doRegisterResource(Resource resource)
protected ObjectName doResolveServiceName(ServiceDescriptor descriptor)
protected Resource doResolveServiceDescriptor(ServiceDescriptor descriptor)
protected <T> T doResolveService(Class<T> resourceClass, ServiceDescriptor descriptor)
protected void doUnregisterResources()
protected void doUnregisterResource(ServiceDescriptor descriptor)
protected void doUnregisterResource(String qualifiedName)
protected void doUnregisterResource(ObjectName objectName)
Copyright © 2016 Nuxeo SA. All rights reserved.