Package gov.aps.jca.configuration
Interface Configurable
-
- All Known Subinterfaces:
Reconfigurable
- All Known Implementing Classes:
CAJContext,CAJServerContext,LatestMonitorOnlyQueuedEventDispatcher,QueuedEventDispatcher
public interface ConfigurableThis interface should be implemented by classes that need to be configured with custom parameters before initialization.
The contract surrounding aConfigurableis that the instantiating entity must call theconfiguremethod before it is valid. Theconfiguremethod must be called after the constructor, and before any other method.
Note that this interface is incompatible with Parameterizable.- Version:
- 1.0
- Author:
- Federico Barbieri, Pierpaolo Fumagalli, Stefano Mazzocchi, Berin Loritsch, Peter Donald
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(Configuration configuration)Pass theConfigurationto theConfigurableclass.
-
-
-
Method Detail
-
configure
void configure(Configuration configuration) throws ConfigurationException
Pass theConfigurationto theConfigurableclass. This method must always be called after the constructor and before any other method.- Parameters:
configuration- the class configurations.- Throws:
ConfigurationException- if an error occurs
-
-