org.jwarp.service.configuration
Interface IConfigurable

All Known Subinterfaces:
IAction, ICacheService, IClientValidator, ICondition, IConfigurationService, IConnectionPoolService, IDecodeAlg, IDispatchAlg, IDisplayService, IFlowData, IFormFactory, IFormManager, IForwardAlg, IGroupService, IIdService, ILocalization, ILocalizationService, ILogService, ILogWriter, IMailService, INavigationFactory, INavigationManager, IObjectPoolService, IParameterDescription, IParamService, IParticipantManager, IPersistenceService, IPoolService, IRequestInit, IRoleManager, IScreenManager, IScreenService, ISecurityService, IService, ISessionInit, IShutDownService, IStateManager, IThreadPoolService, IToolManager, ITransitionManager, IValidation, IValidator, IWebService, IWorkflow, IWorkflowModel, IWorkflowSystem, IWorkManager, IWorkService, IXSLTService
All Known Implementing Classes:
SQLSecurity, SecurityService

public interface IConfigurable

This interface should be implemented by classes that need to be configured with custom parameters before initialization.
The contract surrounding a Configurable is that the instantiating entity must call the configure method before it is valid. The configure method must be called after the constructor, and before any other method.

Author:
Anatole Tresch

Method Summary
 void configure(org.jdom.Element configuration)
          Pass the Configuration to the Configurable class.
 

Method Detail

configure

public void configure(org.jdom.Element configuration)
               throws ConfigurationException
Pass the Configuration to the Configurable class. This method must always be called after the constructor and before any other method.
Parameters:
configuration - the class configurations.

©   O R C A   S y s t e m s