public class CoreAddress<T extends CoreAddress<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CoreAddress.CoreAddressResources
Child mutators for CoreAddress
|
Constructor and Description |
---|
CoreAddress(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
bindingName(String value)
The names of all bindings (both queues and diverts) bound to this
address.
|
List<String> |
bindingNames()
The names of all bindings (both queues and diverts) bound to this
address.
|
T |
bindingNames(List<String> value)
The names of all bindings (both queues and diverts) bound to this
address.
|
T |
bindingNames(String... args)
The names of all bindings (both queues and diverts) bound to this
address.
|
String |
getKey() |
Long |
numberOfBytesPerPage()
The number of bytes used by each page for this address.
|
T |
numberOfBytesPerPage(Long value)
The number of bytes used by each page for this address.
|
Integer |
numberOfPages()
The number of pages used by this address.
|
T |
numberOfPages(Integer value)
The number of pages used by this address.
|
T |
queueName(String value)
The names of the queues associated with the address.
|
List<String> |
queueNames()
The names of the queues associated with the address.
|
T |
queueNames(List<String> value)
The names of the queues associated with the address.
|
T |
queueNames(String... args)
The names of the queues associated with the address.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
role(Role value)
Add the Role object to the list of subresources
|
T |
role(RoleSupplier supplier)
Install a supplied Role object to the list of subresources
|
T |
role(String childKey)
Create and configure a Role object to the list of subresources
|
T |
role(String childKey,
RoleConsumer consumer)
Create and configure a Role object to the list of subresources
|
T |
roles(List<Role> value)
Add all Role objects to this subresource
|
CoreAddress.CoreAddressResources |
subresources() |
public CoreAddress(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public CoreAddress.CoreAddressResources subresources()
public T roles(List<Role> value)
value
- List of Role objects.public T role(Role value)
value
- The Role to addpublic T role(String childKey, RoleConsumer consumer)
key
- The key for the Role resourceconfig
- The RoleConsumer to usepublic T role(String childKey)
key
- The key for the Role resourcepublic T role(RoleSupplier supplier)
public List<String> bindingNames()
public T bindingNames(List<String> value)
public T bindingName(String value)
public T bindingNames(String... args)
public Long numberOfBytesPerPage()
public T numberOfBytesPerPage(Long value)
public Integer numberOfPages()
public T queueNames(List<String> value)
Copyright © 2019 JBoss by Red Hat. All rights reserved.