public class Connector<T extends Connector<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
factoryClass()
Class name of the factory class that can instantiate the connector.
|
T |
factoryClass(String value)
Class name of the factory class that can instantiate the connector.
|
String |
getKey() |
T |
param(String key,
Object value)
A key-value pair understood by the connector factory-class and used to
configure it.
|
Map |
params()
A key-value pair understood by the connector factory-class and used to
configure it.
|
T |
params(Map value)
A key-value pair understood by the connector factory-class and used to
configure it.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
socketBinding()
The socket binding that the connector will use to create connections.
|
T |
socketBinding(String value)
The socket binding that the connector will use to create connections.
|
public Connector(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public String factoryClass()
public T factoryClass(String value)
public Map params()
public T params(Map value)
public T param(String key, Object value)
public String socketBinding()
Copyright © 2020 JBoss by Red Hat. All rights reserved.