com.atlassian.jira.service
Class OfBizServiceConfigStore
java.lang.Object
com.atlassian.jira.service.OfBizServiceConfigStore
- All Implemented Interfaces:
- ServiceConfigStore
public class OfBizServiceConfigStore
- extends Object
- implements ServiceConfigStore
OfBiz implementation of the ServiceConfigStore.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OfBizServiceConfigStore
public OfBizServiceConfigStore(OfBizDelegator ofBizDelegator,
ComponentClassManager componentClassManager)
addServiceConfig
public JiraServiceContainer addServiceConfig(String serviceName,
Class<? extends JiraService> serviceClass,
long serviceDelay)
throws ServiceException
- Description copied from interface:
ServiceConfigStore
- Adds a new Service of the given class with the the given configuration.
- Specified by:
addServiceConfig
in interface ServiceConfigStore
- Parameters:
serviceName
- The service name.serviceClass
- The JiraService class that we wish to add as a service.serviceDelay
- the service delay.
- Returns:
- JiraServiceContainer for this service.
- Throws:
ServiceException
- If there is any errors trying to add this Service.
editServiceConfig
public void editServiceConfig(JiraServiceContainer config,
long delay,
Map<String,String[]> params)
throws ServiceException
- Specified by:
editServiceConfig
in interface ServiceConfigStore
- Throws:
ServiceException
removeServiceConfig
public void removeServiceConfig(JiraServiceContainer config)
- Specified by:
removeServiceConfig
in interface ServiceConfigStore
getServiceConfigForName
@Nullable
public JiraServiceContainer getServiceConfigForName(String name)
- Specified by:
getServiceConfigForName
in interface ServiceConfigStore
getServiceConfigForId
@Nullable
public JiraServiceContainer getServiceConfigForId(Long id)
- Specified by:
getServiceConfigForId
in interface ServiceConfigStore
getAllServiceConfigs
public Collection<JiraServiceContainer> getAllServiceConfigs()
- Specified by:
getAllServiceConfigs
in interface ServiceConfigStore
Copyright © 2002-2014 Atlassian. All Rights Reserved.