Class GlobalAdministrativeStatusManagerImpl
java.lang.Object
org.nuxeo.ecm.core.management.statuses.GlobalAdministrativeStatusManagerImpl
- All Implemented Interfaces:
GlobalAdministrativeStatusManager
public class GlobalAdministrativeStatusManagerImpl
extends Object
implements GlobalAdministrativeStatusManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected final List<AdministrableServiceDescriptor>
protected final Map<String,
AdministrableServiceDescriptor> protected final Map<String,
AdministrativeStatusManager> protected final AdministrativeStatusPersister
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the identifier of the local Nuxeo Instance.getServiceDescriptor
(String serviceIdentifier) Gets the XMAP descriptor for one service.getStatusManager
(String instanceIdentifier) Retrieve theAdministrativeStatusManager
for a given Nuxeo instance.Lists the identifiers of all Nuxeo Instances.Lists services that are declared to be administrable.void
Registers a service given its descriptor.void
Updates the status of a service for all registered Nuxeo instances.
-
Field Details
-
persister
-
managers
-
descriptors
-
descriptorsByServiceId
-
-
Constructor Details
-
GlobalAdministrativeStatusManagerImpl
public GlobalAdministrativeStatusManagerImpl()
-
-
Method Details
-
getLocalNuxeoInstanceIdentifier
Description copied from interface:GlobalAdministrativeStatusManager
Returns the identifier of the local Nuxeo Instance.- Specified by:
getLocalNuxeoInstanceIdentifier
in interfaceGlobalAdministrativeStatusManager
-
getStatusManager
Description copied from interface:GlobalAdministrativeStatusManager
Retrieve theAdministrativeStatusManager
for a given Nuxeo instance.- Specified by:
getStatusManager
in interfaceGlobalAdministrativeStatusManager
-
listInstanceIds
Description copied from interface:GlobalAdministrativeStatusManager
Lists the identifiers of all Nuxeo Instances.- Specified by:
listInstanceIds
in interfaceGlobalAdministrativeStatusManager
-
setStatus
Description copied from interface:GlobalAdministrativeStatusManager
Updates the status of a service for all registered Nuxeo instances.- Specified by:
setStatus
in interfaceGlobalAdministrativeStatusManager
-
registerService
Description copied from interface:GlobalAdministrativeStatusManager
Registers a service given its descriptor.- Specified by:
registerService
in interfaceGlobalAdministrativeStatusManager
-
listRegistredServices
Description copied from interface:GlobalAdministrativeStatusManager
Lists services that are declared to be administrable.- Specified by:
listRegistredServices
in interfaceGlobalAdministrativeStatusManager
-
getServiceDescriptor
Description copied from interface:GlobalAdministrativeStatusManager
Gets the XMAP descriptor for one service.- Specified by:
getServiceDescriptor
in interfaceGlobalAdministrativeStatusManager
-