eu.emi.emir
Class ServerProperties

java.lang.Object
  extended by eu.unicore.util.configuration.PropertiesHelper
      extended by eu.emi.emir.ServerProperties

public class ServerProperties
extends eu.unicore.util.configuration.PropertiesHelper

Author:
a.memon

Field Summary
static Map<String,eu.unicore.util.configuration.PropertyMD> META
           
static String PREFIX
           
static String PROP_ADDRESS
          This is the EMIR server URL, where clients can contact.
static String PROP_ANONYMOUS_PORT
          This is the EMIR server URL, where clients can contact with public resources.
static String PROP_GLOBAL_ENABLE
          Indicating whether the registry node is global.
static String PROP_GLOBAL_ETREMOVE
           
static String PROP_GLOBAL_ETVALID
           
static String PROP_GLOBAL_PROVIDERLIST
           
static String PROP_GLOBAL_RETRY
           
static String PROP_GLOBAL_SOFTSTATE_DELAY
           
static String PROP_GLOBAL_SPARSITY
           
static String PROP_H2_DBFILE_PATH
           
static String PROP_LOGGER_CONFIGPATH
           
static String PROP_MONGODB_COLLECTION_NAME
           
static String PROP_MONGODB_DB_NAME
           
static String PROP_MONGODB_HOSTNAME
           
static String PROP_MONGODB_PASSWORD
           
static String PROP_MONGODB_PORT
           
static String PROP_MONGODB_USERNAME
           
static String PROP_PARENT_ADDRESS
           
static String PROP_RECORD_BLOCKLIST_INCOMING
           
static String PROP_RECORD_BLOCKLIST_OUTGOING
           
static String PROP_RECORD_EXPIRY_DEFAULT
           
static String PROP_RECORD_EXPIRY_MAXIMUM
           
static String PROP_RECORD_MAXIMUM
           
static String PROP_REQUEST_INTERCEPTORS
           
static String PROP_RESPONSE_INTERCEPTORS
           
 
Fields inherited from class eu.unicore.util.configuration.PropertiesHelper
genericListeners, log, metadata, prefix, properties, propertyFocusedListeners
 
Constructor Summary
ServerProperties(Properties props, boolean sslMode)
           
 
Method Summary
 Boolean isAnonymousAccessEnabled()
           
 Boolean isGlobalEnabled()
           
 String parentAddress()
           
 
Methods inherited from class eu.unicore.util.configuration.PropertiesHelper
addPropertyChangeListener, checkBounds, checkConstraints, checkPropertyConstraints, filterChanged, findUnknown, getBooleanValue, getDoubleValue, getDoubleValueNoCheck, getEnumValue, getFileValue, getFileValueAsString, getIntValue, getIntValueNoCheck, getKeyDescription, getListOfValues, getLongValue, getLongValueNoCheck, getMetadata, getRawProperty, getSubkeyBooleanValue, getSubkeyEnumValue, getSubkeyIntValue, getSubkeyLongValue, getSubkeyValue, getValue, isSet, logValue, notifyAllWithKey, notifyFocusedListeners, notifyGenericListeners, removePropertyChangeListener, setProperties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final String PREFIX
See Also:
Constant Field Values

PROP_ADDRESS

public static final String PROP_ADDRESS
This is the EMIR server URL, where clients can contact. The URL should not end with slash "/"

See Also:
Constant Field Values

PROP_ANONYMOUS_PORT

public static final String PROP_ANONYMOUS_PORT
This is the EMIR server URL, where clients can contact with public resources. The URL should not end with slash "/"

See Also:
Constant Field Values

PROP_GLOBAL_ENABLE

public static final String PROP_GLOBAL_ENABLE
Indicating whether the registry node is global. If set to true then it will replicate among peer global registries while ignoring the emir.url property. This implies the current instance will not have parent.

See Also:
Constant Field Values

PROP_GLOBAL_PROVIDERLIST

public static final String PROP_GLOBAL_PROVIDERLIST
See Also:
Constant Field Values

PROP_GLOBAL_SPARSITY

public static final String PROP_GLOBAL_SPARSITY
See Also:
Constant Field Values

PROP_GLOBAL_RETRY

public static final String PROP_GLOBAL_RETRY
See Also:
Constant Field Values

PROP_GLOBAL_ETVALID

public static final String PROP_GLOBAL_ETVALID
See Also:
Constant Field Values

PROP_GLOBAL_ETREMOVE

public static final String PROP_GLOBAL_ETREMOVE
See Also:
Constant Field Values

PROP_GLOBAL_SOFTSTATE_DELAY

public static final String PROP_GLOBAL_SOFTSTATE_DELAY
See Also:
Constant Field Values

PROP_PARENT_ADDRESS

public static final String PROP_PARENT_ADDRESS
See Also:
Constant Field Values

PROP_MONGODB_HOSTNAME

public static final String PROP_MONGODB_HOSTNAME
See Also:
Constant Field Values

PROP_MONGODB_PORT

public static final String PROP_MONGODB_PORT
See Also:
Constant Field Values

PROP_MONGODB_COLLECTION_NAME

public static final String PROP_MONGODB_COLLECTION_NAME
See Also:
Constant Field Values

PROP_MONGODB_DB_NAME

public static final String PROP_MONGODB_DB_NAME
See Also:
Constant Field Values

PROP_MONGODB_USERNAME

public static final String PROP_MONGODB_USERNAME
See Also:
Constant Field Values

PROP_MONGODB_PASSWORD

public static final String PROP_MONGODB_PASSWORD
See Also:
Constant Field Values

PROP_RECORD_EXPIRY_MAXIMUM

public static final String PROP_RECORD_EXPIRY_MAXIMUM
See Also:
Constant Field Values

PROP_RECORD_EXPIRY_DEFAULT

public static final String PROP_RECORD_EXPIRY_DEFAULT
See Also:
Constant Field Values

PROP_RECORD_BLOCKLIST_INCOMING

public static final String PROP_RECORD_BLOCKLIST_INCOMING
See Also:
Constant Field Values

PROP_RECORD_BLOCKLIST_OUTGOING

public static final String PROP_RECORD_BLOCKLIST_OUTGOING
See Also:
Constant Field Values

PROP_RECORD_MAXIMUM

public static final String PROP_RECORD_MAXIMUM
See Also:
Constant Field Values

PROP_REQUEST_INTERCEPTORS

public static final String PROP_REQUEST_INTERCEPTORS
See Also:
Constant Field Values

PROP_RESPONSE_INTERCEPTORS

public static final String PROP_RESPONSE_INTERCEPTORS
See Also:
Constant Field Values

PROP_LOGGER_CONFIGPATH

public static final String PROP_LOGGER_CONFIGPATH
See Also:
Constant Field Values

PROP_H2_DBFILE_PATH

public static String PROP_H2_DBFILE_PATH

META

public static final Map<String,eu.unicore.util.configuration.PropertyMD> META
Constructor Detail

ServerProperties

public ServerProperties(Properties props,
                        boolean sslMode)
                 throws eu.unicore.util.configuration.ConfigurationException
Parameters:
prefix -
properties -
propertiesMD -
log -
Throws:
eu.unicore.util.configuration.ConfigurationException
Method Detail

isGlobalEnabled

public Boolean isGlobalEnabled()

isAnonymousAccessEnabled

public Boolean isAnonymousAccessEnabled()

parentAddress

public String parentAddress()


Copyright © 2012. All Rights Reserved.