@Address(value="/subsystem=keycloak-server/spi=*") public class Spi<T extends Spi<T>> extends HashMap implements org.wildfly.swarm.config.runtime.Keyed
| Modifier and Type | Class and Description |
|---|---|
static class |
Spi.SpiResources
Child mutators for Spi
|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
defaultProvider()
The default provider for the spi.
|
T |
defaultProvider(String value)
The default provider for the spi.
|
String |
getKey() |
T |
provider(Provider value)
Add the Provider object to the list of subresources
|
T |
provider(ProviderSupplier supplier)
Install a supplied Provider object to the list of subresources
|
T |
provider(String childKey)
Create and configure a Provider object to the list of subresources
|
T |
provider(String childKey,
ProviderConsumer consumer)
Create and configure a Provider object to the list of subresources
|
T |
providers(List<Provider> value)
Add all Provider objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Spi.SpiResources |
subresources() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringpublic Spi(String key)
public String getKey()
getKey in interface org.wildfly.swarm.config.runtime.Keyedpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Spi.SpiResources subresources()
public T providers(List<Provider> value)
value - List of Provider objects.public T provider(Provider value)
value - The Provider to addpublic T provider(String childKey, ProviderConsumer consumer)
key - The key for the Provider resourceconfig - The ProviderConsumer to usepublic T provider(String childKey)
key - The key for the Provider resourcepublic T provider(ProviderSupplier supplier)
@ModelNodeBinding(detypedName="default-provider") public String defaultProvider()
Copyright © 2017 JBoss by Red Hat. All rights reserved.