public class GlobalAdministrativeStatusManagerImpl extends Object implements GlobalAdministrativeStatusManager
Constructor and Description |
---|
GlobalAdministrativeStatusManagerImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getLocalNuxeoInstanceIdentifier()
Returns the identifier of the local Nuxeo Instance.
|
AdministrableServiceDescriptor |
getServiceDescriptor(String serviceIdentifier)
Gets the XMAP descriptor for one service.
|
AdministrativeStatusManager |
getStatusManager(String instanceIdentifier)
Retrieve the
AdministrativeStatusManager for a given Nuxeo
instance. |
List<String> |
listInstanceIds()
Lists the identifiers of all Nuxeo Instances.
|
List<AdministrableServiceDescriptor> |
listRegistredServices()
Lists services that are declared to be administrable.
|
void |
registerService(AdministrableServiceDescriptor desc)
Registers a service given its descriptor.
|
void |
setStatus(String serviceIdentifier,
String state,
String message,
String login)
Updates the status of a service for all registered Nuxeo instances.
|
public GlobalAdministrativeStatusManagerImpl()
public String getLocalNuxeoInstanceIdentifier()
GlobalAdministrativeStatusManager
getLocalNuxeoInstanceIdentifier
in interface GlobalAdministrativeStatusManager
public AdministrativeStatusManager getStatusManager(String instanceIdentifier)
GlobalAdministrativeStatusManager
AdministrativeStatusManager
for a given Nuxeo
instance.getStatusManager
in interface GlobalAdministrativeStatusManager
public List<String> listInstanceIds()
GlobalAdministrativeStatusManager
listInstanceIds
in interface GlobalAdministrativeStatusManager
public void setStatus(String serviceIdentifier, String state, String message, String login)
GlobalAdministrativeStatusManager
setStatus
in interface GlobalAdministrativeStatusManager
public void registerService(AdministrableServiceDescriptor desc)
GlobalAdministrativeStatusManager
registerService
in interface GlobalAdministrativeStatusManager
public List<AdministrableServiceDescriptor> listRegistredServices()
GlobalAdministrativeStatusManager
listRegistredServices
in interface GlobalAdministrativeStatusManager
public AdministrableServiceDescriptor getServiceDescriptor(String serviceIdentifier)
GlobalAdministrativeStatusManager
getServiceDescriptor
in interface GlobalAdministrativeStatusManager
Copyright © 2013 Nuxeo SA. All Rights Reserved.