org.gcube.portlets.user.homelibrary.util.config
Class HomeLibraryConfiguration
java.lang.Object
org.gcube.portlets.user.homelibrary.util.config.HomeLibraryConfiguration
public class HomeLibraryConfiguration
- extends Object
- Author:
- Federico De Faveri defaveri@isti.cnr.it
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HOME_LIBRARY_PERSISTENCE_DIR_VARIABLE_NAME
public static final String HOME_LIBRARY_PERSISTENCE_DIR_VARIABLE_NAME
- Home Library persistence dir variable name.
- See Also:
- Constant Field Values
PERSISTENCE_FOLDER
protected static final String PERSISTENCE_FOLDER
- See Also:
- Constant Field Values
DEFAULT_PROPERTY_FILES
protected static final String DEFAULT_PROPERTY_FILES
- See Also:
- Constant Field Values
configuration
protected static HomeLibraryConfiguration configuration
componentConfiguration
protected ComponentConfiguration componentConfiguration
properties
protected ComponentProperties properties
logger
protected org.apache.log4j.Logger logger
HomeLibraryConfiguration
protected HomeLibraryConfiguration()
getInstance
public static HomeLibraryConfiguration getInstance()
- Returns the
HomeLibraryConfiguration singleton instance.
- Returns:
- the singleton instance.
getHomeManagerFactoryClass
public Class<?> getHomeManagerFactoryClass()
throws ClassNotFoundException
- Returns the HomeManagerFactory class to use.
- Returns:
- the class to use as HomeManagerFactory.
- Throws:
ClassNotFoundException - if the specified class is not found.
getPersistenceFolder
public String getPersistenceFolder()
throws InternalErrorException
- Returns the persistence folder.
- Returns:
- the persistence folder to use.
- Throws:
InternalErrorException - if an error occurs calculating the persistence folder.
Copyright © 2013. All Rights Reserved.