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 |
addIncomingInterceptor(Interceptor interceptor) |
void |
addOutgoingInterceptor(Interceptor interceptor) |
AcceptorFactory |
getAcceptorFactory(String name,
String className)
Get an instance of org.apache.activemq.artemis.spi.core.remoting.AcceptorFactory
|
Transformer |
getBridgeTransformer(String name,
String className)
Get an instance of org.apache.activemq.artemis.core.server.cluster.Transformer for a bridge
|
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,
String className)
Get an instance of org.apache.activemq.artemis.core.server.cluster.Transformer for a divert
|
ExecutorService |
getExecutorService() |
List<BaseInterceptor> |
getIncomingInterceptors(List<String> classNames)
Get a list of org.apache.activemq.artemis.api.core.BaseInterceptor instances
|
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 |
setScheduledExecutorService(ScheduledExecutorService scheduledExecutorService) |
ExecutorService getExecutorService()
void setExecutorService(ExecutorService executorService)
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
- void addIncomingInterceptor(Interceptor interceptor)
List<BaseInterceptor> getIncomingInterceptors(List<String> classNames)
classNames
- void addOutgoingInterceptor(Interceptor interceptor)
List<BaseInterceptor> getOutgoingInterceptors(List<String> classNames)
classNames
- Transformer getDivertTransformer(String name, String className)
name
- the name of divert for which the transformer will be usedclassName
- the fully qualified name of the transformer implementation (can be null)void addDivertTransformer(String name, Transformer transformer)
Transformer getBridgeTransformer(String name, String className)
name
- the name of bridge for which the transformer will be usedclassName
- the fully qualified name of the transformer implementation (can be null)void addBridgeTransformer(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 © 2016 JBoss by Red Hat. All rights reserved.