public class ResourceAdapters<T extends ResourceAdapters<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceAdapters.ResourceAdaptersResources
Child mutators for ResourceAdapters
|
Constructor and Description |
---|
ResourceAdapters() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
resourceAdapter(ResourceAdapter value)
Add the ResourceAdapter object to the list of subresources
|
T |
resourceAdapter(ResourceAdapterSupplier supplier)
Install a supplied ResourceAdapter object to the list of subresources
|
T |
resourceAdapter(String childKey)
Create and configure a ResourceAdapter object to the list of subresources
|
T |
resourceAdapter(String childKey,
ResourceAdapterConsumer consumer)
Create and configure a ResourceAdapter object to the list of subresources
|
T |
resourceAdapters(List<ResourceAdapter> value)
Add all ResourceAdapter objects to this subresource
|
ResourceAdapters.ResourceAdaptersResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ResourceAdapters.ResourceAdaptersResources subresources()
public T resourceAdapters(List<ResourceAdapter> value)
value
- List of ResourceAdapter objects.public T resourceAdapter(ResourceAdapter value)
value
- The ResourceAdapter to addpublic T resourceAdapter(String childKey, ResourceAdapterConsumer consumer)
key
- The key for the ResourceAdapter resourceconfig
- The ResourceAdapterConsumer to usepublic T resourceAdapter(String childKey)
key
- The key for the ResourceAdapter resourcepublic T resourceAdapter(ResourceAdapterSupplier supplier)
Copyright © 2018 JBoss by Red Hat. All rights reserved.