public class Naming<T extends Naming<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Naming.NamingResources
Child mutators for Naming
|
Constructor and Description |
---|
Naming() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
binding(Binding value)
Add the Binding object to the list of subresources
|
T |
binding(BindingSupplier supplier)
Install a supplied Binding object to the list of subresources
|
T |
binding(String childKey)
Create and configure a Binding object to the list of subresources
|
T |
binding(String childKey,
BindingConsumer consumer)
Create and configure a Binding object to the list of subresources
|
T |
bindings(List<Binding> value)
Add all Binding objects to this subresource
|
String |
getKey() |
T |
remoteNamingService()
The remote naming server
|
T |
remoteNamingService(RemoteNamingService value)
The remote naming server
|
T |
remoteNamingService(RemoteNamingServiceConsumer consumer)
The remote naming server
|
T |
remoteNamingService(RemoteNamingServiceSupplier supplier)
The remote naming server
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Naming.NamingResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Naming.NamingResources subresources()
public T bindings(List<Binding> value)
value
- List of Binding objects.public T binding(Binding value)
value
- The Binding to addpublic T binding(String childKey, BindingConsumer consumer)
key
- The key for the Binding resourceconfig
- The BindingConsumer to usepublic T binding(String childKey)
key
- The key for the Binding resourcepublic T binding(BindingSupplier supplier)
public T remoteNamingService(RemoteNamingService value)
public T remoteNamingService(RemoteNamingServiceConsumer consumer)
public T remoteNamingService()
public T remoteNamingService(RemoteNamingServiceSupplier supplier)
Copyright © 2019 JBoss by Red Hat. All rights reserved.