public class XARecoveryConfig extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JNDI_NAME_PROPERTY_KEY |
Constructor and Description |
---|
XARecoveryConfig(boolean ha,
DiscoveryGroupConfiguration discoveryConfiguration,
String username,
String password,
Map<String,String> properties) |
XARecoveryConfig(boolean ha,
DiscoveryGroupConfiguration discoveryConfiguration,
String username,
String password,
Map<String,String> properties,
ClientProtocolManagerFactory clientProtocolManager) |
XARecoveryConfig(boolean ha,
TransportConfiguration[] transportConfiguration,
String username,
String password,
Map<String,String> properties) |
XARecoveryConfig(boolean ha,
TransportConfiguration[] transportConfiguration,
String username,
String password,
Map<String,String> properties,
ClientProtocolManagerFactory clientProtocolManager) |
Modifier and Type | Method and Description |
---|---|
ServerLocator |
createServerLocator()
Create a serverLocator using the configuration
|
boolean |
equals(Object obj) |
ClientProtocolManagerFactory |
getClientProtocolManager() |
DiscoveryGroupConfiguration |
getDiscoveryConfiguration() |
String |
getPassword() |
Map<String,String> |
getProperties() |
TransportConfiguration[] |
getTransportConfig() |
String |
getUsername() |
int |
hashCode() |
boolean |
isHA() |
static XARecoveryConfig |
newConfig(ActiveMQConnectionFactory factory,
String userName,
String password,
Map<String,String> properties) |
String |
toString() |
public static final String JNDI_NAME_PROPERTY_KEY
public XARecoveryConfig(boolean ha, TransportConfiguration[] transportConfiguration, String username, String password, Map<String,String> properties, ClientProtocolManagerFactory clientProtocolManager)
public XARecoveryConfig(boolean ha, TransportConfiguration[] transportConfiguration, String username, String password, Map<String,String> properties)
public XARecoveryConfig(boolean ha, DiscoveryGroupConfiguration discoveryConfiguration, String username, String password, Map<String,String> properties, ClientProtocolManagerFactory clientProtocolManager)
public static XARecoveryConfig newConfig(ActiveMQConnectionFactory factory, String userName, String password, Map<String,String> properties)
public boolean isHA()
public DiscoveryGroupConfiguration getDiscoveryConfiguration()
public TransportConfiguration[] getTransportConfig()
public String getUsername()
public String getPassword()
public ClientProtocolManagerFactory getClientProtocolManager()
public ServerLocator createServerLocator()
Copyright © 2017 JBoss by Red Hat. All rights reserved.