Package org.nuxeo.runtime.management
Class ServerLocatorService
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.runtime.management.ServerLocatorService
- All Implemented Interfaces:
ServerLocator
,Adaptable
,Component
,Extensible
,TimestampedService
-
Field Summary
Modifier and TypeFieldDescriptionprotected MBeanServer
protected String
static final String
protected final Map<String,
MBeanServer> Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanServer
doCreateServer
(ServerLocatorDescriptor descriptor) protected MBeanServer
doFindServer
(String domainName) protected JMXServiceURL
doFormatServerURL
(ServerLocatorDescriptor descriptor) protected String
doFormatThreadName
(ServerLocatorDescriptor descriptor) protected String
protected void
doRegisterLocator
(ServerLocatorDescriptor descriptor) protected void
doUnregisterLocator
(ServerLocatorDescriptor descriptor) lookupServer
(String domainName) lookupServer
(ObjectName qualifiedName) void
registerContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) void
registerLocator
(String domain, boolean isDefault) void
unregisterContribution
(Object contribution, String extensionPoint, ComponentInstance contributor) Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, addRuntimeMessage, addRuntimeMessage, deactivate, getAdapter, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterExtension
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Component
getApplicationStartedOrder
-
Field Details
-
LOCATORS_EXT_KEY
- See Also:
-
servers
-
defaultServer
-
hostname
-
-
Constructor Details
-
ServerLocatorService
public ServerLocatorService()
-
-
Method Details
-
registerContribution
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
registerContribution
in classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
unregisterContribution
in classDefaultComponent
-
doRegisterLocator
-
doGetHostname
-
doFormatServerURL
-
doFormatThreadName
-
doCreateServer
-
doFindServer
-
doUnregisterLocator
-
lookupServer
- Specified by:
lookupServer
in interfaceServerLocator
-
lookupServer
- Specified by:
lookupServer
in interfaceServerLocator
-
lookupServer
- Specified by:
lookupServer
in interfaceServerLocator
-
registerLocator
-