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
FieldsModifier and TypeFieldDescriptionprotected MBeanServerprotected Stringstatic final Stringprotected final Map<String, MBeanServer> Fields inherited from class org.nuxeo.runtime.model.DefaultComponent
lastModified, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MBeanServerdoCreateServer(ServerLocatorDescriptor descriptor) protected MBeanServerdoFindServer(String domainName) protected JMXServiceURLdoFormatServerURL(ServerLocatorDescriptor descriptor) protected StringdoFormatThreadName(ServerLocatorDescriptor descriptor) protected Stringprotected voiddoRegisterLocator(ServerLocatorDescriptor descriptor) protected voiddoUnregisterLocator(ServerLocatorDescriptor descriptor) lookupServer(String domainName) lookupServer(ObjectName qualifiedName) voidregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) voidregisterLocator(String domain, boolean isDefault) voidunregisterContribution(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, unregisterExtensionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
registerContributionin classDefaultComponent
-
unregisterContribution
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) - Overrides:
unregisterContributionin classDefaultComponent
-
doRegisterLocator
-
doGetHostname
-
doFormatServerURL
-
doFormatThreadName
-
doCreateServer
-
doFindServer
-
doUnregisterLocator
-
lookupServer
- Specified by:
lookupServerin interfaceServerLocator
-
lookupServer
- Specified by:
lookupServerin interfaceServerLocator
-
lookupServer
- Specified by:
lookupServerin interfaceServerLocator
-
registerLocator
-