public interface ServiceRegistry
Modifier and Type | Method and Description |
---|---|
void |
addAcceptorFactory(String name,
AcceptorFactory acceptorFactory) |
void |
addBridgeTransformer(String name,
Transformer transformer) |
void |
addConnectorService(ConnectorServiceFactory connectorServiceFactory,
ConnectorServiceConfiguration configuration) |
void |
addDivertTransformer(String name,
Transformer transformer) |
void |
addFederationTransformer(String name,
Transformer transformer) |
void |
addIncomingInterceptor(BaseInterceptor interceptor) |
void |
addOutgoingInterceptor(BaseInterceptor interceptor) |
AcceptorFactory |
getAcceptorFactory(String name,
String className)
Get an instance of org.apache.activemq.artemis.spi.core.remoting.AcceptorFactory
|
Transformer |
getBridgeTransformer(String name,
TransformerConfiguration transformerConfiguration)
Get an instance of org.apache.activemq.artemis.core.server.transformer.Transformer for a bridge
|
ConnectorServiceFactory |
getConnectorService(ConnectorServiceConfiguration configuration)
Get connector service for a given configuration.
|
Collection<Pair<ConnectorServiceFactory,ConnectorServiceConfiguration>> |
getConnectorServices(List<ConnectorServiceConfiguration> configs)
Get a collection of paired org.apache.activemq.artemis.core.server.ConnectorServiceFactory and
org.apache.activemq.artemis.core.config.ConnectorServiceConfiguration instances.
|
Transformer |
getDivertTransformer(String name,
TransformerConfiguration transformerConfiguration)
Get an instance of org.apache.activemq.artemis.core.server.transformer.Transformer for a divert
|
ExecutorService |
getExecutorService() |
Transformer |
getFederationTransformer(String name,
TransformerConfiguration transformerConfiguration)
Get an instance of org.apache.activemq.artemis.core.server.transformer.Transformer for federation
|
List<BaseInterceptor> |
getIncomingInterceptors(List<String> classNames)
Get a list of org.apache.activemq.artemis.api.core.BaseInterceptor instances
|
ExecutorService |
getIOExecutorService() |
List<BaseInterceptor> |
getOutgoingInterceptors(List<String> classNames)
Get a list of org.apache.activemq.artemis.api.core.BaseInterceptor instances
|
ScheduledExecutorService |
getScheduledExecutorService() |
void |
removeConnectorService(ConnectorServiceConfiguration configuration) |
void |
setExecutorService(ExecutorService executorService) |
void |
setIOExecutorService(ExecutorService ioExecutorService) |
void |
setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
ExecutorService getExecutorService()
void setExecutorService(ExecutorService executorService)
ExecutorService getIOExecutorService()
void setIOExecutorService(ExecutorService ioExecutorService)
ScheduledExecutorService getScheduledExecutorService()
void setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
void addConnectorService(ConnectorServiceFactory connectorServiceFactory, ConnectorServiceConfiguration configuration)
void removeConnectorService(ConnectorServiceConfiguration configuration)
Collection<Pair<ConnectorServiceFactory,ConnectorServiceConfiguration>> getConnectorServices(List<ConnectorServiceConfiguration> configs)
configs
- ConnectorServiceFactory getConnectorService(ConnectorServiceConfiguration configuration)
configuration
- The connector service configuration.void addIncomingInterceptor(BaseInterceptor interceptor)
List<BaseInterceptor> getIncomingInterceptors(List<String> classNames)
classNames
- void addOutgoingInterceptor(BaseInterceptor interceptor)
List<BaseInterceptor> getOutgoingInterceptors(List<String> classNames)
classNames
- Transformer getDivertTransformer(String name, TransformerConfiguration transformerConfiguration)
name
- the name of divert for which the transformer will be usedtransformerConfiguration
- the transformer configurationvoid addDivertTransformer(String name, Transformer transformer)
Transformer getBridgeTransformer(String name, TransformerConfiguration transformerConfiguration)
name
- the name of bridge for which the transformer will be usedtransformerConfiguration
- the transformer configurationvoid addBridgeTransformer(String name, Transformer transformer)
Transformer getFederationTransformer(String name, TransformerConfiguration transformerConfiguration)
name
- the name of bridge for which the transformer will be usedtransformerConfiguration
- the transformer configurationvoid addFederationTransformer(String name, Transformer transformer)
AcceptorFactory getAcceptorFactory(String name, String className)
name
- the name of acceptor for which the factory will be usedclassName
- the fully qualified name of the factory implementation (can be null)void addAcceptorFactory(String name, AcceptorFactory acceptorFactory)
Copyright © 2019 JBoss by Red Hat. All rights reserved.