Class ConfigSupport

java.lang.Object
org.seasar.doma.jdbc.ConfigSupport

public final class ConfigSupport extends Object
Provides default implementations for the Config interface.

This class serves as a central repository of default implementations for various components used by the Doma framework. These default implementations are used when a custom Config implementation does not override the corresponding methods.

Each field in this class represents a default implementation of a specific interface or component that can be used by Config implementations. The default implementations provide reasonable behavior for most applications, but can be replaced with custom implementations when needed.

For example, the Config.getSqlFileRepository() method returns defaultSqlFileRepository by default, but a custom Config implementation can override this method to provide a different SqlFileRepository implementation.

This design allows applications to customize only the components they need while using the default implementations for everything else, promoting a flexible and modular architecture.

All fields in this class are public, static, and final, making them effectively constants that can be referenced directly if needed, though they are typically accessed through the default methods of the Config interface.

  • Field Details

  • Constructor Details

    • ConfigSupport

      public ConfigSupport()