Package | Description |
---|---|
org.apache.commons.configuration2.builder |
This package contains the implementations of configuration builder
classes used to create new
Configuration objects. |
org.apache.commons.configuration2.builder.combined |
A package containing the implementation of the builder for combined
configurations.
|
org.apache.commons.configuration2.reloading |
This package contains classes and interfaces related to the reloading mechanism.
|
Modifier and Type | Method and Description |
---|---|
ReloadingController |
ReloadingFileBasedConfigurationBuilder.getReloadingController()
Returns the
ReloadingController associated with this builder. |
Modifier and Type | Method and Description |
---|---|
void |
BasicConfigurationBuilder.connectToReloadingController(ReloadingController controller)
Connects this builder with a
ReloadingController . |
Modifier and Type | Method and Description |
---|---|
protected ReloadingController |
ReloadingCombinedConfigurationBuilder.createReloadingController()
Creates the
ReloadingController for this builder. |
ReloadingController |
ReloadingCombinedConfigurationBuilder.getReloadingController()
Returns the
ReloadingController associated with this object. |
ReloadingController |
ReloadingMultiFileConfigurationBuilder.getReloadingController()
Returns the
ReloadingController associated with this object. |
Modifier and Type | Method and Description |
---|---|
static void |
ReloadingCombinedConfigurationBuilder.obtainReloadingController(Collection<ReloadingController> subControllers,
Object builder)
Checks whether the passed in builder object supports reloading.
|
Modifier and Type | Class and Description |
---|---|
class |
CombinedReloadingController
A specialized
ReloadingController implementation which manages an
arbitrary number of other ReloadingController objects. |
Modifier and Type | Method and Description |
---|---|
ReloadingController |
ReloadingEvent.getController()
Returns the
ReloadingController which caused this event. |
ReloadingController |
ReloadingControllerSupport.getReloadingController()
Returns the
ReloadingController associated with this object. |
Modifier and Type | Method and Description |
---|---|
Collection<ReloadingController> |
CombinedReloadingController.getSubControllers()
Returns a (unmodifiable) collection with the sub controllers managed by
this combined controller.
|
Constructor and Description |
---|
PeriodicReloadingTrigger(ReloadingController ctrl,
Object ctrlParam,
long triggerPeriod,
TimeUnit unit)
Creates a new instance of
PeriodicReloadingTrigger with a default
executor service. |
PeriodicReloadingTrigger(ReloadingController ctrl,
Object ctrlParam,
long triggerPeriod,
TimeUnit unit,
ScheduledExecutorService exec)
Creates a new instance of
PeriodicReloadingTrigger and sets all
parameters. |
ReloadingEvent(ReloadingController source,
Object addData)
Creates a new instance of
ReloadingEvent and initializes it. |
Constructor and Description |
---|
CombinedReloadingController(Collection<? extends ReloadingController> subCtrls)
Creates a new instance of
CombinedReloadingController and
initializes it with the ReloadingController objects to be
managed. |
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.