public class ConnectionFactory<T extends ConnectionFactory<T>> extends Object
Constructor and Description |
---|
ConnectionFactory(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
connector(String value)
Defines the connectors.
|
List<String> |
connectors()
Defines the connectors.
|
T |
connectors(List<String> value)
Defines the connectors.
|
T |
connectors(String... args)
Defines the connectors.
|
String |
discoveryGroup()
The discovery group name.
|
T |
discoveryGroup(String value)
The discovery group name.
|
List<String> |
entries()
The jndi names the connection factory should be bound to.
|
T |
entries(List<String> value)
The jndi names the connection factory should be bound to.
|
T |
entries(String... args)
The jndi names the connection factory should be bound to.
|
T |
entry(String value)
The jndi names the connection factory should be bound to.
|
FactoryType |
factoryType()
The type of connection factory.
|
T |
factoryType(FactoryType value)
The type of connection factory.
|
String |
getKey() |
Boolean |
ha()
Whether the connection factory supports High Availability.
|
T |
ha(Boolean value)
Whether the connection factory supports High Availability.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public ConnectionFactory(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public List<String> connectors()
public T connectors(List<String> value)
public T connector(String value)
public T connectors(String... args)
public String discoveryGroup()
public T entries(List<String> value)
public FactoryType factoryType()
public T factoryType(FactoryType value)
public Boolean ha()
Copyright © 2019 JBoss by Red Hat. All rights reserved.