org.gcube.contentmanagement.layerindependent.servicehelper
Class CollectionManagementProperties

java.lang.Object
  extended by org.gcube.contentmanagement.layerindependent.servicehelper.PropertiesManager
      extended by org.gcube.contentmanagement.layerindependent.servicehelper.CollectionManagementProperties

public class CollectionManagementProperties
extends PropertiesManager


Field Summary
static java.lang.String CONFIG_FILENAME
          Name of the configuration file, will be appended to configuration path parameter of init
static java.lang.String DEFAULT_DL_CONTEXT_PROPERTY_NAME
          Parameter in configuration file to identify the default digital library context in which the service operates.
static java.lang.String PERFORM_ADDITIONAL_CHECKS_PROPERTY_NAME
          Defines whether additional checks should be performed that ensure the highest possible level of consistency.
static java.lang.String PUBLISH_COLLECTION_PROFILES_PROPERTY_NAME
          Parameter in configuration file to turn publication of collection profiles in the DIS on or off (boolean value).
static java.lang.String STORAGE_MANAGEMENT_SERVICE_URI_PROPERTY_NAME
          URI of the Storage Management Service
 
Constructor Summary
CollectionManagementProperties()
           
 
Method Summary
 java.lang.String getConfigFilename()
           
static CollectionManagementProperties getInstance()
           
 
Methods inherited from class org.gcube.contentmanagement.layerindependent.servicehelper.PropertiesManager
getArrayProperty, getBooleanProperty, getIntegerProperty, getProperty, getPropertyDefault, loadFromDir, setPropertyDefault
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_FILENAME

public static final java.lang.String CONFIG_FILENAME
Name of the configuration file, will be appended to configuration path parameter of init

See Also:
Constant Field Values

STORAGE_MANAGEMENT_SERVICE_URI_PROPERTY_NAME

public static final java.lang.String STORAGE_MANAGEMENT_SERVICE_URI_PROPERTY_NAME
URI of the Storage Management Service

See Also:
Constant Field Values

PUBLISH_COLLECTION_PROFILES_PROPERTY_NAME

public static final java.lang.String PUBLISH_COLLECTION_PROFILES_PROPERTY_NAME
Parameter in configuration file to turn publication of collection profiles in the DIS on or off (boolean value). In a productive system, this should always be turned on. Defines whether collection profiles should get published and synchronized with the DIS. If this is turned off, no calls to the DIS should be performed. This only makes sense, if the service should run independent of the remaining DILIGENT infrastructure, and it can be used for local debugging purposes.

See Also:
Constant Field Values

PERFORM_ADDITIONAL_CHECKS_PROPERTY_NAME

public static final java.lang.String PERFORM_ADDITIONAL_CHECKS_PROPERTY_NAME
Defines whether additional checks should be performed that ensure the highest possible level of consistency. Can be turned of, if it is sure that all other components work fine, therefore consistency is not so much of an issue, but performance is.

See Also:
Constant Field Values

DEFAULT_DL_CONTEXT_PROPERTY_NAME

public static final java.lang.String DEFAULT_DL_CONTEXT_PROPERTY_NAME
Parameter in configuration file to identify the default digital library context in which the service operates. Defines the default digital library context in which the service operates. This default value should only be used, of no more suitable has been defined e.g. in the security settings of the service. If nothing has been set in the configuration file, this will be null.

See Also:
Constant Field Values
Constructor Detail

CollectionManagementProperties

public CollectionManagementProperties()
Method Detail

getConfigFilename

public java.lang.String getConfigFilename()
Specified by:
getConfigFilename in class PropertiesManager

getInstance

public static CollectionManagementProperties getInstance()