public class ServerLocatorService extends DefaultComponent implements ServerLocator
Modifier and Type | Field and Description |
---|---|
static String |
LOCATORS_EXT_KEY |
Constructor and Description |
---|
ServerLocatorService() |
Modifier and Type | Method and Description |
---|---|
MBeanServer |
lookupServer() |
MBeanServer |
lookupServer(ObjectName qualifiedName) |
MBeanServer |
lookupServer(String domainName) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
registerLocator(String domain,
boolean isDefault) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
public static final String LOCATORS_EXT_KEY
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
unregisterContribution
in class DefaultComponent
Exception
public MBeanServer lookupServer(ObjectName qualifiedName)
lookupServer
in interface ServerLocator
public MBeanServer lookupServer()
public MBeanServer lookupServer(String domainName)
lookupServer
in interface ServerLocator
public void registerLocator(String domain, boolean isDefault)
Copyright © 2013 Nuxeo SA. All Rights Reserved.