|
Apache JAMES Mime4j 0.6-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.james.mime4j.storage.DefaultStorageProvider
public class DefaultStorageProvider
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 Summary | |
---|---|
static String |
DEFAULT_STORAGE_PROVIDER_PROPERTY
Value is org.apache.james.mime4j.defaultStorageProvider |
Method Summary | |
---|---|
static StorageProvider |
getInstance()
Returns the default StorageProvider instance. |
static void |
setInstance(StorageProvider instance)
Sets the default StorageProvider instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_STORAGE_PROVIDER_PROPERTY
org.apache.james.mime4j.defaultStorageProvider
Method Detail |
---|
public static StorageProvider getInstance()
StorageProvider
instance.
StorageProvider
instance.public static void setInstance(StorageProvider instance)
StorageProvider
instance.
instance
- the default StorageProvider
instance.
|
Apache JAMES Mime4j 0.6-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |