org.hornetq.jms.server.recovery
Class XARecoveryConfig
java.lang.Object
org.hornetq.jms.server.recovery.XARecoveryConfig
public class XARecoveryConfig
- extends Object
This represents the configuration of a single connection factory.
- Author:
- Andy Taylor, Clebert Suconic
A wrapper around info needed for the xa recovery resource
Date: 3/23/11
Time: 10:15 AM
XARecoveryConfig
public XARecoveryConfig(boolean ha,
TransportConfiguration[] transportConfiguration,
String username,
String password)
XARecoveryConfig
public XARecoveryConfig(boolean ha,
DiscoveryGroupConfiguration discoveryConfiguration,
String username,
String password)
isHA
public boolean isHA()
getDiscoveryConfiguration
public DiscoveryGroupConfiguration getDiscoveryConfiguration()
getTransportConfig
public TransportConfiguration[] getTransportConfig()
getUsername
public String getUsername()
getPassword
public String getPassword()
createServerLocator
public ServerLocator createServerLocator()
- Create a serverLocator using the configuration
- Returns:
- locator
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.