Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.management
Class ServerLocatorService

java.lang.Object
  extended by org.nuxeo.runtime.model.DefaultComponent
      extended by org.nuxeo.runtime.management.ServerLocatorService
All Implemented Interfaces:
ServerLocator, Adaptable, Component, Extensible

public class ServerLocatorService
extends DefaultComponent
implements ServerLocator


Field Summary
static String LOCATORS_EXT_KEY
           
 
Constructor Summary
ServerLocatorService()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent
activate, applicationStarted, deactivate, getAdapter, registerExtension, unregisterExtension
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOCATORS_EXT_KEY

public static final String LOCATORS_EXT_KEY
See Also:
Constant Field Values
Constructor Detail

ServerLocatorService

public ServerLocatorService()
Method Detail

registerContribution

public void registerContribution(Object contribution,
                                 String extensionPoint,
                                 ComponentInstance contributor)
                          throws Exception
Overrides:
registerContribution in class DefaultComponent
Throws:
Exception

unregisterContribution

public void unregisterContribution(Object contribution,
                                   String extensionPoint,
                                   ComponentInstance contributor)
                            throws Exception
Overrides:
unregisterContribution in class DefaultComponent
Throws:
Exception

lookupServer

public MBeanServer lookupServer(ObjectName qualifiedName)
Specified by:
lookupServer in interface ServerLocator

lookupServer

public MBeanServer lookupServer()

lookupServer

public MBeanServer lookupServer(String domainName)
Specified by:
lookupServer in interface ServerLocator

registerLocator

public void registerLocator(String domain,
                            boolean isDefault)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.