public class ResourceAdapter<T extends ResourceAdapter<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ResourceAdapter.ResourceAdapterResources
Child mutators for ResourceAdapter
|
static class |
ResourceAdapter.TransactionSupport |
Constructor and Description |
---|
ResourceAdapter(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
adminObjects(AdminObjects value)
Add the AdminObjects object to the list of subresources
|
T |
adminObjects(AdminObjectsSupplier supplier)
Install a supplied AdminObjects object to the list of subresources
|
T |
adminObjects(List<AdminObjects> value)
Add all AdminObjects objects to this subresource
|
T |
adminObjects(String childKey)
Create and configure a AdminObjects object to the list of subresources
|
T |
adminObjects(String childKey,
AdminObjectsConsumer consumer)
Create and configure a AdminObjects object to the list of subresources
|
String |
archive()
Specifies the resource adapter archive.
|
T |
archive(String value)
Specifies the resource adapter archive.
|
T |
beanvalidationgroup(String value)
Specifies the bean validation groups that should be used.
|
List<String> |
beanvalidationgroups()
Specifies the bean validation groups that should be used.
|
T |
beanvalidationgroups(List<String> value)
Specifies the bean validation groups that should be used.
|
T |
beanvalidationgroups(String... args)
Specifies the bean validation groups that should be used.
|
String |
bootstrapContext()
Specifies the unique name of the bootstrap context that should be used.
|
T |
bootstrapContext(String value)
Specifies the unique name of the bootstrap context that should be used.
|
T |
configProperties(ConfigProperties value)
Add the ConfigProperties object to the list of subresources
|
T |
configProperties(ConfigPropertiesSupplier supplier)
Install a supplied ConfigProperties object to the list of subresources
|
T |
configProperties(List<ConfigProperties> value)
Add all ConfigProperties objects to this subresource
|
T |
configProperties(String childKey)
Create and configure a ConfigProperties object to the list of
subresources
|
T |
configProperties(String childKey,
ConfigPropertiesConsumer consumer)
Create and configure a ConfigProperties object to the list of
subresources
|
T |
connectionDefinitions(ConnectionDefinitions value)
Add the ConnectionDefinitions object to the list of subresources
|
T |
connectionDefinitions(ConnectionDefinitionsSupplier supplier)
Install a supplied ConnectionDefinitions object to the list of
subresources
|
T |
connectionDefinitions(List<ConnectionDefinitions> value)
Add all ConnectionDefinitions objects to this subresource
|
T |
connectionDefinitions(String childKey)
Create and configure a ConnectionDefinitions object to the list of
subresources
|
T |
connectionDefinitions(String childKey,
ConnectionDefinitionsConsumer consumer)
Create and configure a ConnectionDefinitions object to the list of
subresources
|
String |
getKey() |
String |
module()
Specifies the module from which resource adapter will be loaded
|
T |
module(String value)
Specifies the module from which resource adapter will be loaded
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
statisticsEnabled()
Define whether runtime statistics are enabled or not.
|
T |
statisticsEnabled(Boolean value)
Define whether runtime statistics are enabled or not.
|
ResourceAdapter.ResourceAdapterResources |
subresources() |
ResourceAdapter.TransactionSupport |
transactionSupport()
Specifies the transaction support level of the resource adapter.
|
T |
transactionSupport(ResourceAdapter.TransactionSupport value)
Specifies the transaction support level of the resource adapter.
|
String |
wmElytronSecurityDomain()
Defines the name of the Elytron security domain that should be used.
|
T |
wmElytronSecurityDomain(String value)
Defines the name of the Elytron security domain that should be used.
|
Boolean |
wmSecurity()
Toggle on/off wm.security for this resource adapter.
|
T |
wmSecurity(Boolean value)
Toggle on/off wm.security for this resource adapter.
|
T |
wmSecurityDefaultGroup(String value)
Defines a default groups list that should be added to the used Subject
instance.
|
List<String> |
wmSecurityDefaultGroups()
Defines a default groups list that should be added to the used Subject
instance.
|
T |
wmSecurityDefaultGroups(List<String> value)
Defines a default groups list that should be added to the used Subject
instance.
|
T |
wmSecurityDefaultGroups(String... args)
Defines a default groups list that should be added to the used Subject
instance.
|
String |
wmSecurityDefaultPrincipal()
Defines a default principal name that should be added to the used Subject
instance.
|
T |
wmSecurityDefaultPrincipal(String value)
Defines a default principal name that should be added to the used Subject
instance.
|
String |
wmSecurityDomain()
Defines the name of the PicketBox security domain that should be used.
|
T |
wmSecurityDomain(String value)
Defines the name of the PicketBox security domain that should be used.
|
T |
wmSecurityMappingGroup(Map value)
List of groups mappings.
|
List<Map> |
wmSecurityMappingGroups()
List of groups mappings.
|
T |
wmSecurityMappingGroups(List<Map> value)
List of groups mappings.
|
T |
wmSecurityMappingGroups(Map... args)
List of groups mappings.
|
Boolean |
wmSecurityMappingRequired()
Defines if a mapping is required for security credentials.
|
T |
wmSecurityMappingRequired(Boolean value)
Defines if a mapping is required for security credentials.
|
T |
wmSecurityMappingUser(Map value)
List of user mappings.
|
List<Map> |
wmSecurityMappingUsers()
List of user mappings.
|
T |
wmSecurityMappingUsers(List<Map> value)
List of user mappings.
|
T |
wmSecurityMappingUsers(Map... args)
List of user mappings.
|
public ResourceAdapter(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public ResourceAdapter.ResourceAdapterResources subresources()
public T configProperties(List<ConfigProperties> value)
value
- List of ConfigProperties objects.public T configProperties(ConfigProperties value)
value
- The ConfigProperties to addpublic T configProperties(String childKey, ConfigPropertiesConsumer consumer)
key
- The key for the ConfigProperties resourceconfig
- The ConfigPropertiesConsumer to usepublic T configProperties(String childKey)
key
- The key for the ConfigProperties resourcepublic T configProperties(ConfigPropertiesSupplier supplier)
public T adminObjects(List<AdminObjects> value)
value
- List of AdminObjects objects.public T adminObjects(AdminObjects value)
value
- The AdminObjects to addpublic T adminObjects(String childKey, AdminObjectsConsumer consumer)
key
- The key for the AdminObjects resourceconfig
- The AdminObjectsConsumer to usepublic T adminObjects(String childKey)
key
- The key for the AdminObjects resourcepublic T adminObjects(AdminObjectsSupplier supplier)
public T connectionDefinitions(List<ConnectionDefinitions> value)
value
- List of ConnectionDefinitions objects.public T connectionDefinitions(ConnectionDefinitions value)
value
- The ConnectionDefinitions to addpublic T connectionDefinitions(String childKey, ConnectionDefinitionsConsumer consumer)
key
- The key for the ConnectionDefinitions resourceconfig
- The ConnectionDefinitionsConsumer to usepublic T connectionDefinitions(String childKey)
key
- The key for the ConnectionDefinitions resourcepublic T connectionDefinitions(ConnectionDefinitionsSupplier supplier)
public String archive()
public List<String> beanvalidationgroups()
public T beanvalidationgroups(List<String> value)
public T beanvalidationgroup(String value)
public T beanvalidationgroups(String... args)
public String bootstrapContext()
public T bootstrapContext(String value)
public String module()
public T module(String value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
public ResourceAdapter.TransactionSupport transactionSupport()
public T transactionSupport(ResourceAdapter.TransactionSupport value)
public String wmElytronSecurityDomain()
public T wmElytronSecurityDomain(String value)
public Boolean wmSecurity()
public T wmSecurity(Boolean value)
public List<String> wmSecurityDefaultGroups()
public T wmSecurityDefaultGroups(List<String> value)
public T wmSecurityDefaultGroup(String value)
public T wmSecurityDefaultGroups(String... args)
public String wmSecurityDefaultPrincipal()
public T wmSecurityDefaultPrincipal(String value)
public String wmSecurityDomain()
public T wmSecurityDomain(String value)
public Boolean wmSecurityMappingRequired()
public T wmSecurityMappingRequired(Boolean value)
Copyright © 2018 JBoss by Red Hat. All rights reserved.