public class ConfigurableManager extends Object implements AutoCloseable
| Constructor and Description |
|---|
ConfigurableManager(ConfigView configView,
DeploymentContext deploymentContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
List<ConfigurableHandle> |
configurables() |
protected <T> boolean |
configure(ConfigurableHandle configurable) |
ConfigView |
configView() |
protected Object |
createLambda(ConfigKey itemPrefix,
Method factoryMethod) |
protected Method |
findGetKeyMethod(Object object) |
protected SimpleKey |
getKey(Object object) |
protected Method |
getKeyedFactoryMethod(Object instance,
Field field) |
protected Method |
getNonKeyedFactoryMethod(Object instance,
Field field) |
protected Method |
getSubresourcesMethod(Object instance) |
protected ConfigKey |
handleDeploymentConfiguration(ConfigKey in) |
boolean |
hasConfiguration(Fraction fraction) |
void |
log() |
protected ConfigKey |
nameFor(ConfigKey prefix,
Configurable anno) |
protected ConfigKey |
nameFor(Field member) |
protected ConfigKey |
nameFor(Fraction fraction) |
protected ConfigKey |
nameFor(Method member) |
protected List<ConfigKey> |
namesFor(ConfigKey prefix,
Field field) |
void |
rescan() |
protected void |
scan(ConfigKey prefix,
Object instance,
boolean implicit) |
protected void |
scan(ConfigKey prefix,
Object instance,
Class<?> curClass,
boolean implicit) |
void |
scan(Object instance) |
protected void |
scanFraction(Fraction fraction) |
protected void |
scanSubresources(ConfigKey prefix,
Object instance) |
void |
subresourceAdded(ConfigKey itemPrefix,
Object object) |
public ConfigurableManager(ConfigView configView, DeploymentContext deploymentContext)
public ConfigView configView()
public List<ConfigurableHandle> configurables()
protected <T> boolean configure(ConfigurableHandle configurable) throws Exception
Exceptionpublic boolean hasConfiguration(Fraction fraction) throws Exception
Exceptionprotected void scan(ConfigKey prefix, Object instance, boolean implicit) throws Exception
Exceptionprotected void scan(ConfigKey prefix, Object instance, Class<?> curClass, boolean implicit) throws Exception
Exceptionprotected ConfigKey nameFor(ConfigKey prefix, Configurable anno)
protected void scanSubresources(ConfigKey prefix, Object instance) throws Exception
Exceptionpublic void subresourceAdded(ConfigKey itemPrefix, Object object) throws Exception
Exceptionpublic void log()
public void close()
close in interface AutoCloseableCopyright © 2018 JBoss by Red Hat. All rights reserved.