public interface RuleServicePublisher
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(RuleServicePublisherListener listener)
Add listener to a publisher
|
void |
clearListeners()
Clear all listeners in publisher
|
void |
deploy(OpenLService service)
Deploys the specified service.
|
OpenLService |
getServiceByName(String name)
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 |
removeListener(RuleServicePublisherListener listener)
Remove listener to a publisher
|
void |
undeploy(String serviceName)
Undeploys currently running service.
|
void deploy(OpenLService service) throws RuleServiceDeployException
service - Service to deploy.RuleServiceDeployExceptionvoid undeploy(String serviceName) throws RuleServiceUndeployException
serviceName - Name of the service to undeploy.RuleServiceDeployExceptionRuleServiceUndeployExceptionCollection<OpenLService> getServices()
OpenLService getServiceByName(String name)
name - Name of the service to find.boolean isServiceDeployed(String name)
name - Name of the service.void addListener(RuleServicePublisherListener listener)
listener - Listener to add.void removeListener(RuleServicePublisherListener listener)
listener - Listener to remove.void clearListeners()
Copyright © 2004–2019 OpenL Tablets. All rights reserved.