public class Stack<T extends Stack<T>> extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
Stack.StackResources
Child mutators for Stack 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener 
 | 
String | 
getKey()  | 
T | 
protocol(Protocol value)
Add the Protocol object to the list of subresources 
 | 
T | 
protocol(ProtocolSupplier supplier)
Install a supplied Protocol object to the list of subresources 
 | 
T | 
protocol(String childKey)
Create and configure a Protocol object to the list of subresources 
 | 
T | 
protocol(String childKey,
        ProtocolConsumer consumer)
Create and configure a Protocol object to the list of subresources 
 | 
T | 
protocols(List<Protocol> value)
Add all Protocol objects to this subresource 
 | 
T | 
RELAY2()
The configuration of a RELAY protocol 
 | 
T | 
RELAY2(RELAY2 value)
The configuration of a RELAY protocol 
 | 
T | 
RELAY2(RELAY2Consumer consumer)
The configuration of a RELAY protocol 
 | 
T | 
RELAY2(RELAY2Supplier supplier)
The configuration of a RELAY protocol 
 | 
void | 
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener 
 | 
Boolean | 
statisticsEnabled()
Indicates whether or not all protocols in the stack will collect
 statistics by default. 
 | 
T | 
statisticsEnabled(Boolean value)
Indicates whether or not all protocols in the stack will collect
 statistics by default. 
 | 
Stack.StackResources | 
subresources()  | 
T | 
transport(String childKey)
Create and configure a Transport object to the list of subresources 
 | 
T | 
transport(String childKey,
         TransportConsumer consumer)
Create and configure a Transport object to the list of subresources 
 | 
T | 
transport(Transport value)
Add the Transport object to the list of subresources 
 | 
T | 
transport(TransportSupplier supplier)
Install a supplied Transport object to the list of subresources 
 | 
T | 
transports(List<Transport> value)
Add all Transport objects to this subresource 
 | 
public Stack(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Stack.StackResources subresources()
public T protocols(List<Protocol> value)
value - List of Protocol objects.public T protocol(Protocol value)
value - The Protocol to addpublic T protocol(String childKey, ProtocolConsumer consumer)
key - The key for the Protocol resourceconfig - The ProtocolConsumer to usepublic T protocol(String childKey)
key - The key for the Protocol resourcepublic T protocol(ProtocolSupplier supplier)
public T transports(List<Transport> value)
value - List of Transport objects.public T transport(Transport value)
value - The Transport to addpublic T transport(String childKey, TransportConsumer consumer)
key - The key for the Transport resourceconfig - The TransportConsumer to usepublic T transport(String childKey)
key - The key for the Transport resourcepublic T transport(TransportSupplier supplier)
public T RELAY2(RELAY2Consumer consumer)
public T RELAY2()
public T RELAY2(RELAY2Supplier supplier)
public Boolean statisticsEnabled()
Copyright © 2018 JBoss by Red Hat. All rights reserved.