public class Connector<T extends Connector<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Connector.ConnectorResources
Child mutators for Connector
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
authenticationProvider()
The "authentication-provider" element contains the name of the
authentication provider to use for incoming connections.
|
T |
authenticationProvider(String value)
The "authentication-provider" element contains the name of the
authentication provider to use for incoming connections.
|
String |
getKey() |
T |
properties(List<Property> value)
Add all Property objects to this subresource
|
T |
property(Property value)
Add the Property object to the list of subresources
|
T |
property(PropertySupplier supplier)
Install a supplied Property object to the list of subresources
|
T |
property(String childKey)
Create and configure a Property object to the list of subresources
|
T |
property(String childKey,
PropertyConsumer consumer)
Create and configure a Property object to the list of subresources
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
saslAuthenticationFactory()
Reference to the SASL authentication factory to secure this connector.
|
T |
saslAuthenticationFactory(String value)
Reference to the SASL authentication factory to secure this connector.
|
String |
saslProtocol()
The protocol to pass into the SASL mechanisms used for authentication.
|
T |
saslProtocol(String value)
The protocol to pass into the SASL mechanisms used for authentication.
|
T |
saslSecurity()
The "sasl" element contains the SASL authentication configuration for
this connector.
|
T |
saslSecurity(SASLSecurity value)
The "sasl" element contains the SASL authentication configuration for
this connector.
|
T |
saslSecurity(SASLSecurityConsumer consumer)
The "sasl" element contains the SASL authentication configuration for
this connector.
|
T |
saslSecurity(SASLSecuritySupplier supplier)
The "sasl" element contains the SASL authentication configuration for
this connector.
|
String |
securityRealm()
The associated security realm to use for authentication for this
connector.
|
T |
securityRealm(String value)
The associated security realm to use for authentication for this
connector.
|
String |
serverName()
The server name to send in the initial message exchange and for SASL
based authentication.
|
T |
serverName(String value)
The server name to send in the initial message exchange and for SASL
based authentication.
|
String |
socketBinding()
The name of the socket binding to attach to.
|
T |
socketBinding(String value)
The name of the socket binding to attach to.
|
String |
sslContext()
Reference to the SSLContext to use for this connector.
|
T |
sslContext(String value)
Reference to the SSLContext to use for this connector.
|
Connector.ConnectorResources |
subresources() |
public Connector(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Connector.ConnectorResources subresources()
public T properties(List<Property> value)
value
- List of Property objects.public T property(Property value)
value
- The Property to addpublic T property(String childKey, PropertyConsumer consumer)
key
- The key for the Property resourceconfig
- The PropertyConsumer to usepublic T property(String childKey)
key
- The key for the Property resourcepublic T property(PropertySupplier supplier)
public T saslSecurity(SASLSecurity value)
public T saslSecurity(SASLSecurityConsumer consumer)
public T saslSecurity()
public T saslSecurity(SASLSecuritySupplier supplier)
public String authenticationProvider()
public T authenticationProvider(String value)
public String saslAuthenticationFactory()
public T saslAuthenticationFactory(String value)
public String saslProtocol()
public T saslProtocol(String value)
public String securityRealm()
public T securityRealm(String value)
public String serverName()
public T serverName(String value)
public String socketBinding()
public String sslContext()
Copyright © 2019 JBoss by Red Hat. All rights reserved.