Class DefaultStorageProvider


  • public class DefaultStorageProvider
    extends java.lang.Object
    Allows for a default StorageProvider instance to be configured on an application level.

    The default instance can be set by either calling setInstance(StorageProvider) when the application starts up or by setting the system property org.apache.james.mime4j.defaultStorageProvider to the class name of a StorageProvider implementation.

    If neither option is used or if the class instantiation fails this class provides a pre-configured default instance.

    • Field Detail

      • DEFAULT_STORAGE_PROVIDER_PROPERTY

        public static final java.lang.String DEFAULT_STORAGE_PROVIDER_PROPERTY
        Value is org.apache.james.mime4j.defaultStorageProvider
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultStorageProvider

        private DefaultStorageProvider()