public class RELAY2<T extends RELAY2<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RELAY2.RELAY2Resources
Child mutators for RELAY2
|
Constructor and Description |
---|
RELAY2() |
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(Map value)
The properties of this protocol.
|
T |
property(String key,
Object value)
The properties of this protocol.
|
T |
remoteSite(RemoteSite value)
Add the RemoteSite object to the list of subresources
|
T |
remoteSite(RemoteSiteSupplier supplier)
Install a supplied RemoteSite object to the list of subresources
|
T |
remoteSite(String childKey)
Create and configure a RemoteSite object to the list of subresources
|
T |
remoteSite(String childKey,
RemoteSiteConsumer consumer)
Create and configure a RemoteSite object to the list of subresources
|
T |
remoteSites(List<RemoteSite> value)
Add all RemoteSite objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
String |
site()
The name of the local site.
|
T |
site(String value)
The name of the local site.
|
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.
|
RELAY2.RELAY2Resources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public RELAY2.RELAY2Resources subresources()
public T remoteSites(List<RemoteSite> value)
value
- List of RemoteSite objects.public T remoteSite(RemoteSite value)
value
- The RemoteSite to addpublic T remoteSite(String childKey, RemoteSiteConsumer consumer)
key
- The key for the RemoteSite resourceconfig
- The RemoteSiteConsumer to usepublic T remoteSite(String childKey)
key
- The key for the RemoteSite resourcepublic T remoteSite(RemoteSiteSupplier supplier)
public String module()
public Map properties()
public String site()
public Boolean statisticsEnabled()
Copyright © 2019 JBoss by Red Hat. All rights reserved.