public class DefaultManagementRegistryFactory extends java.lang.Object implements ServiceFactory<ManagementRegistryService>
ServiceFactory.RequiresConfiguration
Constructor and Description |
---|
DefaultManagementRegistryFactory() |
Modifier and Type | Method and Description |
---|---|
ManagementRegistryService |
create(ServiceCreationConfiguration<ManagementRegistryService,?> configuration)
Creates an instance of the service using the passed in
ServiceCreationConfiguration . |
java.lang.Class<ManagementRegistryService> |
getServiceType()
Queries a
ServiceFactory to know which Service type it produces. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMandatory, rank
public ManagementRegistryService create(ServiceCreationConfiguration<ManagementRegistryService,?> configuration)
ServiceFactory
ServiceCreationConfiguration
.
Note that a null
configuration may be supported or even required by a service implementation.
create
in interface ServiceFactory<ManagementRegistryService>
configuration
- the creation configuration, can be null
for some servicesstarted
public java.lang.Class<ManagementRegistryService> getServiceType()
ServiceFactory
ServiceFactory
to know which Service
type it produces.getServiceType
in interface ServiceFactory<ManagementRegistryService>