Class DefaultConfiguration

java.lang.Object
com.opensymphony.workflow.config.DefaultConfiguration
All Implemented Interfaces:
Configuration, Serializable

public class DefaultConfiguration extends Object implements Configuration, Serializable
Default implementation for a configuration object. This configuration object is passed to the Workflow.setConfiguration(Configuration) method. If the configuration is not initialized, the load(java.net.URL) method will be called by the workflow. Alternatively, the caller can explicitly load the configuration by calling that method before calling Workflow.setConfiguration(Configuration).

The loading behaviour comes into play when specifying a configuration remotely, for example in an EJB environment. It might be desirable to ensure that the configuration is loaded from within the EJB server, rather than in the calling client.

Version:
$Revision: 1.15 $
Author:
Hani Suleiman
See Also: