public class RuleServiceImpl extends Object implements RuleService
| Constructor and Description |
|---|
RuleServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploy(ServiceDescription serviceDescription)
Deploys a service.
|
RuleServiceInstantiationFactory |
getRuleServiceInstantiationFactory() |
RuleServicePublisher |
getRuleServicePublisher() |
OpenLService |
getServiceByName(String serviceName)
Finds and returns deployed OpenL service by name.
|
Collection<OpenLService> |
getServices()
Returns a collection of deployed OpenL services.
|
void |
redeploy(ServiceDescription serviceDescription)
Redeploys a service.
|
void |
setRuleServiceInstantiationFactory(RuleServiceInstantiationFactory ruleServiceInstantiationFactory) |
void |
setRuleServicePublisher(RuleServicePublisher ruleServicePublisher) |
void |
undeploy(String serviceName)
Undeploys a service by name.
|
public void redeploy(ServiceDescription serviceDescription) throws RuleServiceDeployException, RuleServiceUndeployException
redeploy in interface RuleServiceserviceDescription - service descriptionRuleServiceDeployExceptionRuleServiceUndeployExceptionpublic void undeploy(String serviceName) throws RuleServiceUndeployException
undeploy in interface RuleServiceserviceName - service nameRuleServiceUndeployExceptionpublic Collection<OpenLService> getServices()
getServices in interface RuleServicepublic OpenLService getServiceByName(String serviceName)
getServiceByName in interface RuleServiceserviceName - service namepublic void deploy(ServiceDescription serviceDescription) throws RuleServiceDeployException
deploy in interface RuleServiceserviceDescription - service descriptionRuleServiceDeployException - occurs if deploy process failspublic RuleServicePublisher getRuleServicePublisher()
public void setRuleServicePublisher(RuleServicePublisher ruleServicePublisher)
public RuleServiceInstantiationFactory getRuleServiceInstantiationFactory()
public void setRuleServiceInstantiationFactory(RuleServiceInstantiationFactory ruleServiceInstantiationFactory)
Copyright © 2004–2019 OpenL Tablets. All rights reserved.