public class DefaultServiceManager extends Object implements IServiceManager
IServiceManager
Modifier and Type | Field and Description |
---|---|
Map<String,IServiceTypeManager> |
serviceManagerMap |
Constructor and Description |
---|
DefaultServiceManager() |
Modifier and Type | Method and Description |
---|---|
Object |
getServiceBean(String serviceType,
String serviceId) |
IServiceConfig |
getServiceConfig(String serviceType,
String serviceId) |
void |
initServices() |
void |
registerService(IServiceConfig config) |
void |
setServiceTypeManagers(Collection<IServiceTypeManager> serviceTypeManagers) |
public Map<String,IServiceTypeManager> serviceManagerMap
public void setServiceTypeManagers(Collection<IServiceTypeManager> serviceTypeManagers)
public void registerService(IServiceConfig config) throws ServiceException
registerService
in interface IServiceManager
ServiceException
public Object getServiceBean(String serviceType, String serviceId) throws ServiceException
getServiceBean
in interface IServiceManager
ServiceException
public IServiceConfig getServiceConfig(String serviceType, String serviceId)
getServiceConfig
in interface IServiceManager
public void initServices() throws ServiceInitializationException
initServices
in interface IServiceManager
ServiceInitializationException
Copyright © 2017 Hitachi Vantara. All rights reserved.