public class PooledConnectionFactoryService extends Object implements org.jboss.msc.service.Service<Void>
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_PARAMETERS |
static String |
CONNECTOR_CLASSNAME |
static String |
DISCOVERY_INITIAL_WAIT_TIMEOUT |
static String |
DISCOVERY_LOCAL_BIND_ADDRESS |
static String |
GROUP_ADDRESS |
static String |
GROUP_PORT |
static String |
JGROUPS_CHANNEL_LOCATOR_CLASS |
static String |
JGROUPS_CHANNEL_NAME |
static String |
JGROUPS_CHANNEL_REF_NAME |
static String |
REFRESH_TIMEOUT |
static String |
TRANSACTION_MANAGER_LOCATOR_CLASS |
static String |
TRANSACTION_MANAGER_LOCATOR_METHOD |
Constructor and Description |
---|
PooledConnectionFactoryService(String name,
List<String> connectors,
String discoveryGroupName,
String hqServerName,
String jgroupsChannelName,
List<PooledConnectionFactoryConfigProperties> adapterParams,
ContextNames.BindInfo bindInfo,
String txSupport,
int minPoolSize,
int maxPoolSize,
boolean pickAnyConnectors) |
PooledConnectionFactoryService(String name,
List<String> connectors,
String discoveryGroupName,
String hqServerName,
String jgroupsChannelName,
List<PooledConnectionFactoryConfigProperties> adapterParams,
List<String> jndiNames,
String txSupport,
int minPoolSize,
int maxPoolSize) |
Modifier and Type | Method and Description |
---|---|
org.jboss.msc.inject.Injector<org.hornetq.core.server.HornetQServer> |
getHornetQService() |
org.jboss.msc.inject.Injector<Object> |
getTransactionManager() |
Void |
getValue() |
static void |
installService(ServiceVerificationHandler verificationHandler,
List<org.jboss.msc.service.ServiceController<?>> newControllers,
org.jboss.msc.service.ServiceTarget serviceTarget,
String name,
String hqServerName,
List<String> connectors,
String discoveryGroupName,
String jgroupsChannelName,
List<PooledConnectionFactoryConfigProperties> adapterParams,
ContextNames.BindInfo bindInfo,
String txSupport,
int minPoolSize,
int maxPoolSize,
boolean pickAnyConnectors) |
static void |
installService(ServiceVerificationHandler verificationHandler,
List<org.jboss.msc.service.ServiceController<?>> newControllers,
org.jboss.msc.service.ServiceTarget serviceTarget,
String name,
String hqServerName,
List<String> connectors,
String discoveryGroupName,
String jgroupsChannelName,
List<PooledConnectionFactoryConfigProperties> adapterParams,
List<String> jndiNames,
String txSupport,
int minPoolSize,
int maxPoolSize) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
public static final String CONNECTOR_CLASSNAME
public static final String CONNECTION_PARAMETERS
public static final String GROUP_ADDRESS
public static final String DISCOVERY_INITIAL_WAIT_TIMEOUT
public static final String GROUP_PORT
public static final String REFRESH_TIMEOUT
public static final String DISCOVERY_LOCAL_BIND_ADDRESS
public static final String TRANSACTION_MANAGER_LOCATOR_METHOD
public static final String TRANSACTION_MANAGER_LOCATOR_CLASS
public static final String JGROUPS_CHANNEL_LOCATOR_CLASS
public static final String JGROUPS_CHANNEL_NAME
public static final String JGROUPS_CHANNEL_REF_NAME
public PooledConnectionFactoryService(String name, List<String> connectors, String discoveryGroupName, String hqServerName, String jgroupsChannelName, List<PooledConnectionFactoryConfigProperties> adapterParams, List<String> jndiNames, String txSupport, int minPoolSize, int maxPoolSize)
public PooledConnectionFactoryService(String name, List<String> connectors, String discoveryGroupName, String hqServerName, String jgroupsChannelName, List<PooledConnectionFactoryConfigProperties> adapterParams, ContextNames.BindInfo bindInfo, String txSupport, int minPoolSize, int maxPoolSize, boolean pickAnyConnectors)
public static void installService(ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers, org.jboss.msc.service.ServiceTarget serviceTarget, String name, String hqServerName, List<String> connectors, String discoveryGroupName, String jgroupsChannelName, List<PooledConnectionFactoryConfigProperties> adapterParams, ContextNames.BindInfo bindInfo, String txSupport, int minPoolSize, int maxPoolSize, boolean pickAnyConnectors)
verificationHandler
- can be null
newControllers
- can be null
public static void installService(ServiceVerificationHandler verificationHandler, List<org.jboss.msc.service.ServiceController<?>> newControllers, org.jboss.msc.service.ServiceTarget serviceTarget, String name, String hqServerName, List<String> connectors, String discoveryGroupName, String jgroupsChannelName, List<PooledConnectionFactoryConfigProperties> adapterParams, List<String> jndiNames, String txSupport, int minPoolSize, int maxPoolSize)
verificationHandler
- can be null
newControllers
- can be null
public Void getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<Void>
IllegalStateException
IllegalArgumentException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<Void>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<Void>
public org.jboss.msc.inject.Injector<Object> getTransactionManager()
public org.jboss.msc.inject.Injector<org.hornetq.core.server.HornetQServer> getHornetQService()
Copyright © 2014 JBoss by Red Hat. All rights reserved.