public class ConnectionInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTION_FACTORY |
static String |
CONNECTION_PREFIX |
static int |
DEFAULT_RECONNECT_INTERVAL |
static String |
INITIAL_CONTEXT_FACTORY |
static String |
PASSWORD |
static String |
PROVIDER_URI |
static String |
RECONNECT |
static String |
RECONNECT_INTERVAL |
static String |
RECONNECT_TRIES |
static String |
USER |
Constructor and Description |
---|
ConnectionInfo(String name) |
ConnectionInfo(String name,
String connectionFactory,
String providerURL) |
public static final int DEFAULT_RECONNECT_INTERVAL
public static final String INITIAL_CONTEXT_FACTORY
public static final String PROVIDER_URI
public static final String USER
public static final String PASSWORD
public static final String RECONNECT_TRIES
public static final String RECONNECT_INTERVAL
public static final String CONNECTION_FACTORY
public static final String RECONNECT
public static final String CONNECTION_PREFIX
public ConnectionInfo(String name)
public String getName()
public void setName(String name)
public String getInitialContextFactory()
public void setInitialContextFactory(String initialContextFactory)
public String getProviderURL()
public void setProviderURL(String providerURL)
public String getUser()
public void setUser(String user)
public String getPassword()
public void setPassword(String password)
public int getReconnectTries()
public void setReconnectTries(int reconnectTries)
public long getReconnectInterval()
public void setReconnectInterval(long reconnectInterval)
public String getConnectionFactory()
public void setConnectionFactory(String connectionFactory)
public boolean isReconnect()
public void setReconnect(boolean reconnect)
protected ConnectionInfo parseConnection(String prefix, Properties properties)
public StringBuilder toString(StringBuilder stringBuffer)
Copyright © 2000–2022 EPAM Systems. All rights reserved.