public class JavaClassRuleServicePublisher extends AbstractRuleServicePublisher
listeners| Constructor and Description |
|---|
JavaClassRuleServicePublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
deployService(OpenLService service) |
RulesFrontend |
getFrontend() |
OpenLService |
getServiceByName(String serviceName)
Searches for the service from currently running with the specified name or null if service with specified name
wasn't deployed.
|
Collection<OpenLService> |
getServices()
Provides info about all currently running services.
|
boolean |
isServiceDeployed(String name)
Is service with specified name was deployed.
|
void |
setFrontend(RulesFrontend frontend) |
void |
undeployService(String serviceName) |
addListener, clearListeners, deploy, fireDeployListeners, fireUndeployListeners, getListeners, getPublisherType, processURL, removeListener, setListeners, setPublisherType, undeploypublic RulesFrontend getFrontend()
public Collection<OpenLService> getServices()
public OpenLService getServiceByName(String serviceName)
serviceName - Name of the service to find.public void deployService(OpenLService service) throws RuleServiceDeployException
deployService in class AbstractRuleServicePublisherRuleServiceDeployExceptionpublic void undeployService(String serviceName) throws RuleServiceUndeployException
undeployService in class AbstractRuleServicePublisherRuleServiceUndeployExceptionpublic void setFrontend(RulesFrontend frontend)
public boolean isServiceDeployed(String name)
RuleServicePublishername - Name of the service.Copyright © 2004–2019 OpenL Tablets. All rights reserved.