public class Protocol<T extends Protocol<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Protocol.ProtocolResources
Child mutators for Protocol
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
String |
module()
The module with which to resolve the protocol type.
|
T |
module(String value)
The module with which to resolve the protocol type.
|
Map |
properties()
The properties of this protocol.
|
T |
properties(List<Property> value)
Add all Property objects to this subresource
|
T |
properties(Map value)
The properties of this protocol.
|
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 key,
Object value)
The properties of this protocol.
|
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 |
socketBinding()
Deprecated.
Deprecated. Supports EAP 7.0 slaves.
|
T |
socketBinding(String value)
Deprecated.
Deprecated. Supports EAP 7.0 slaves.
|
Boolean |
statisticsEnabled()
Indicates whether or not this protocol will collect statistics overriding
stack configuration.
|
T |
statisticsEnabled(Boolean value)
Indicates whether or not this protocol will collect statistics overriding
stack configuration.
|
Protocol.ProtocolResources |
subresources() |
public Protocol(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Protocol.ProtocolResources 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 String module()
public Map properties()
@Deprecated public String socketBinding()
@Deprecated public T socketBinding(String value)
public Boolean statisticsEnabled()
Copyright © 2019 JBoss by Red Hat. All rights reserved.