public class MultipleRuleServicePublisher extends AbstractRuleServicePublisher implements org.springframework.beans.factory.InitializingBean
listeners| Constructor and Description |
|---|
MultipleRuleServicePublisher() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
deployService(OpenLService service) |
protected Collection<RuleServicePublisher> |
dispatch(OpenLService service) |
Collection<RuleServicePublisher> |
getDefaultRuleServicePublishers() |
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.
|
Map<String,RuleServicePublisher> |
getSupportedPublishers() |
boolean |
isServiceDeployed(String name)
Is service with specified name was deployed.
|
void |
setDefaultRuleServicePublishers(Collection<RuleServicePublisher> defaultRuleServicePublishers) |
void |
setSupportedPublishers(Map<String,RuleServicePublisher> supportedPublishers) |
void |
undeployService(String serviceName) |
addListener, clearListeners, deploy, fireDeployListeners, fireUndeployListeners, getListeners, getPublisherType, processURL, removeListener, setListeners, setPublisherType, undeploypublic Map<String,RuleServicePublisher> getSupportedPublishers()
public void setSupportedPublishers(Map<String,RuleServicePublisher> supportedPublishers)
protected Collection<RuleServicePublisher> dispatch(OpenLService service)
public Collection<RuleServicePublisher> getDefaultRuleServicePublishers()
public void setDefaultRuleServicePublishers(Collection<RuleServicePublisher> defaultRuleServicePublishers)
protected void deployService(OpenLService service) throws RuleServiceDeployException
deployService in class AbstractRuleServicePublisherRuleServiceDeployExceptionpublic OpenLService getServiceByName(String serviceName)
RuleServicePublishergetServiceByName in interface RuleServicePublisherserviceName - Name of the service to find.public Collection<OpenLService> getServices()
RuleServicePublishergetServices in interface RuleServicePublisherpublic void undeployService(String serviceName) throws RuleServiceUndeployException
undeployService in class AbstractRuleServicePublisherRuleServiceUndeployExceptionpublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic boolean isServiceDeployed(String name)
RuleServicePublisherisServiceDeployed in interface RuleServicePublishername - Name of the service.Copyright © 2004–2019 OpenL Tablets. All rights reserved.