org.openanzo.server.repository
Class RepositoryProperties

java.lang.Object
  extended by org.openanzo.server.repository.RepositoryProperties

public class RepositoryProperties
extends java.lang.Object

Configuration properties for the repository server.

Author:
Generated Source from org.openanzo.utils.properties.jet

Field Summary
static java.lang.String KEY_NOTIFICATION_BROKER_ENABLED
          Key for property "org.openanzo.repository.notification.broker.enabled" Server:This property is used to enable the embedded ActiveMQ JMS broker within the server. Embedded:Not available
static java.lang.String KEY_NOTIFICATION_BROKER_HOST
          Key for property "org.openanzo.repository.notification.broker.host" Server:When using an embedded ActiveMQ JMS server, this setting is used to define to which interface the JMS server should bind. Embedded:Not available Examples: localhost: default binds to all interfaces
static java.lang.String KEY_NOTIFICATION_BROKER_PORT
          Key for property "org.openanzo.repository.notification.broker.port" Server:When using an embedded ActiveMQ JMS server, this setting is used to define on which port the JMS server should listen. Embedded:Not available Examples: 61616
static java.lang.String KEY_REPOSITORY_AUTHENTICATION_PROVIDER
          Key for property "org.openanzo.repository.authenticationProviderClass" Class name for the implementation of IAuthenticationProvider that the server will use to authenticate user requests.
static java.lang.String KEY_REPOSITORY_INITFILE
          Key for property "org.openanzo.repository.initFile" File that contains initial data to load into server when server is initially created Examples: resource:/org/openanzo/model/initializeNew.nt uses the default initializeNew.nt that is stored within the anzo-repository.jar
static java.lang.String KEY_REPOSITORY_JMX_ENABLED
          Key for property "org.openanzo.repository.jmx.enabled" Server:Enable the JMX server Embedded:Not available. Examples: JMX URL if listening port is 9393: service:jmx:rmi://localhost:9393/jndi/rmi://localhost:9394/server
static java.lang.String KEY_REPOSITORY_JMX_PORT
          Key for property "org.openanzo.repository.jmx.port" Server:The JMX Management port Embedded:Not Available Examples: 5000 (default if no value provided)
static java.lang.String KEY_REPOSITORY_PUBLISHER_ENABLED
          Key for property "org.openanzo.repository.notification.publisher.enabled" The update publisher is responsible for taking the contents of committed transactions and publishing them to the notification server.
static java.lang.String KEY_REPOSITORY_PUBLISHER_HOST
          Key for property "org.openanzo.repository.notification.publisher.host" This hostname/IP address or connection URL is used for the update publisher.
static java.lang.String KEY_REPOSITORY_PUBLISHER_PASSWORD
          Key for property "org.openanzo.repository.notification.publisher.password" This password is used for the update publisher.
static java.lang.String KEY_REPOSITORY_PUBLISHER_PORT
          Key for property "org.openanzo.repository.notification.publisher.port" The port used by the update publisher to connect to the notification server.
static java.lang.String KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS
          Key for property "org.openanzo.repository.notification.publisher.jmsProviderClass" The Class name of the underlying JMS provider implementation that will be used to connect to the notification server.
static java.lang.String KEY_REPOSITORY_PUBLISHER_USER
          Key for property "org.openanzo.repository.notification.publisher.user" This id is used for the update publisher.
static java.lang.String KEY_REPOSITORY_RESET_ENABLED
          Key for property "org.openanzo.repository.reset.enabled" Server:Reset method enabled on server.
static java.lang.String KEY_REPOSITORY_RESET_HARD_RESET
          Key for property "org.openanzo.repository.reset.hard" Server:Use drop tables to reset instead of delete to clear tables.
static java.lang.String KEY_REPOSITORY_TIMEOUT
          Key for property "org.openanzo.repository.webserver.timeout" Server:The amount of time in milliseconds that a client request can wait before a timeout exception is thrown. Embedded:Not available Examples: 60000 == 1 minute
static java.lang.String KEY_REPOSITORY_WEBSERVER_DOCROOT
          Key for property "org.openanzo.repository.webserver.docroot" Server:Directory on server to use as webserver's docroot.
static java.lang.String KEY_REPOSITORY_WEBSERVER_HOST
          Key for property "org.openanzo.repository.webserver.host" Server:If set, this property defines on to which network interface the server binds Embedded:Not available Examples: If not set, webserver binds to all interfaces.
static java.lang.String KEY_REPOSITORY_WEBSERVER_PORT
          Key for property "org.openanzo.repository.webserver.port" Server:This property defines on which port the webserver listens Embedded:Not available Examples: 8080 (default)
 
Constructor Summary
RepositoryProperties()
           
 
Method Summary
static java.lang.String getAuthenticationProviderClass(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_AUTHENTICATION_PROVIDER property from properties
static java.lang.String getInitFile(java.util.Properties properties)
          Get KEY_REPOSITORY_INITFILE property from properties
static boolean getJmxEnabled(java.util.Properties properties, boolean defaultValue)
          Get KEY_REPOSITORY_JMX_ENABLED property from properties
static int getJmxPort(java.util.Properties properties, int defaultValue)
          Get KEY_REPOSITORY_JMX_PORT property from properties
static boolean getNotificationBrokerEnabled(java.util.Properties properties, boolean defaultValue)
          Get KEY_NOTIFICATION_BROKER_ENABLED property from properties
static java.lang.String getNotificationBrokerHost(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_NOTIFICATION_BROKER_HOST property from properties
static int getNotificationBrokerPort(java.util.Properties properties, int defaultValue)
          Get KEY_NOTIFICATION_BROKER_PORT property from properties
static boolean getNotificationPublisherEnabled(java.util.Properties properties, boolean defaultValue)
          Get KEY_REPOSITORY_PUBLISHER_ENABLED property from properties
static java.lang.String getNotificationPublisherHost(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_PUBLISHER_HOST property from properties
static java.lang.String getNotificationPublisherJmsProviderClass(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS property from properties
static java.lang.String getNotificationPublisherPassword(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_PUBLISHER_PASSWORD property from properties
static int getNotificationPublisherPort(java.util.Properties properties, int defaultValue)
          Get KEY_REPOSITORY_PUBLISHER_PORT property from properties
static java.lang.String getNotificationPublisherUser(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_PUBLISHER_USER property from properties
static boolean getResetEnabled(java.util.Properties properties, boolean defaultValue)
          Get KEY_REPOSITORY_RESET_ENABLED property from properties
static boolean getResetHard(java.util.Properties properties, boolean defaultValue)
          Get KEY_REPOSITORY_RESET_HARD_RESET property from properties
static java.lang.String getWebserverDocroot(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_WEBSERVER_DOCROOT property from properties
static java.lang.String getWebserverHost(java.util.Properties properties, java.lang.String defaultValue)
          Get KEY_REPOSITORY_WEBSERVER_HOST property from properties
static int getWebserverPort(java.util.Properties properties, int defaultValue)
          Get KEY_REPOSITORY_WEBSERVER_PORT property from properties
static long getWebserverTimeout(java.util.Properties properties, long defaultValue)
          Get KEY_REPOSITORY_TIMEOUT property from properties
static void setAuthenticationProviderClass(java.util.Properties properties, java.lang.String authenticationProviderClass)
          Set KEY_REPOSITORY_AUTHENTICATION_PROVIDER property to authenticationProviderClass in properties
static void setInitFile(java.util.Properties properties, java.lang.String initFile)
          Set KEY_REPOSITORY_INITFILE property to initFile in properties
static void setJmxEnabled(java.util.Properties properties, boolean jmxEnabled)
          Set KEY_REPOSITORY_JMX_ENABLED property to jmx.enabled in properties
static void setJmxPort(java.util.Properties properties, int jmxPort)
          Set KEY_REPOSITORY_JMX_PORT property to jmx.port in properties
static void setNotificationBrokerEnabled(java.util.Properties properties, boolean notificationBrokerEnabled)
          Set KEY_NOTIFICATION_BROKER_ENABLED property to notification.broker.enabled in properties
static void setNotificationBrokerHost(java.util.Properties properties, java.lang.String notificationBrokerHost)
          Set KEY_NOTIFICATION_BROKER_HOST property to notification.broker.host in properties
static void setNotificationBrokerPort(java.util.Properties properties, int notificationBrokerPort)
          Set KEY_NOTIFICATION_BROKER_PORT property to notification.broker.port in properties
static void setNotificationPublisherEnabled(java.util.Properties properties, boolean notificationPublisherEnabled)
          Set KEY_REPOSITORY_PUBLISHER_ENABLED property to notification.publisher.enabled in properties
static void setNotificationPublisherHost(java.util.Properties properties, java.lang.String notificationPublisherHost)
          Set KEY_REPOSITORY_PUBLISHER_HOST property to notification.publisher.host in properties
static void setNotificationPublisherJmsProviderClass(java.util.Properties properties, java.lang.String notificationPublisherJmsProviderClass)
          Set KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS property to notification.publisher.jmsProviderClass in properties
static void setNotificationPublisherPassword(java.util.Properties properties, java.lang.String notificationPublisherPassword)
          Set KEY_REPOSITORY_PUBLISHER_PASSWORD property to notification.publisher.password in properties
static void setNotificationPublisherPort(java.util.Properties properties, int notificationPublisherPort)
          Set KEY_REPOSITORY_PUBLISHER_PORT property to notification.publisher.port in properties
static void setNotificationPublisherUser(java.util.Properties properties, java.lang.String notificationPublisherUser)
          Set KEY_REPOSITORY_PUBLISHER_USER property to notification.publisher.user in properties
static void setResetEnabled(java.util.Properties properties, boolean resetEnabled)
          Set KEY_REPOSITORY_RESET_ENABLED property to reset.enabled in properties
static void setResetHard(java.util.Properties properties, boolean resetHard)
          Set KEY_REPOSITORY_RESET_HARD_RESET property to reset.hard in properties
static void setWebserverDocroot(java.util.Properties properties, java.lang.String webserverDocroot)
          Set KEY_REPOSITORY_WEBSERVER_DOCROOT property to webserver.docroot in properties
static void setWebserverHost(java.util.Properties properties, java.lang.String webserverHost)
          Set KEY_REPOSITORY_WEBSERVER_HOST property to webserver.host in properties
static void setWebserverPort(java.util.Properties properties, int webserverPort)
          Set KEY_REPOSITORY_WEBSERVER_PORT property to webserver.port in properties
static void setWebserverTimeout(java.util.Properties properties, long webserverTimeout)
          Set KEY_REPOSITORY_TIMEOUT property to webserver.timeout in properties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_REPOSITORY_AUTHENTICATION_PROVIDER

public static final java.lang.String KEY_REPOSITORY_AUTHENTICATION_PROVIDER
Key for property "org.openanzo.repository.authenticationProviderClass" Class name for the implementation of IAuthenticationProvider that the server will use to authenticate user requests.
  • Server:Authentication provider is used to authenticate the credentials supplied as part of the webservice calls.
  • Embedded:Authentication provider is used to authenticate the credentials supplied as part of the client calls.
  • Examples:
  • Server:org.openanzo.server.security.AuthenticationProvider (default)
  • Embedded:org.openanzo.server.security.AuthenticationProvider (default)
  • See Also:
    Constant Field Values

    KEY_REPOSITORY_INITFILE

    public static final java.lang.String KEY_REPOSITORY_INITFILE
    Key for property "org.openanzo.repository.initFile" File that contains initial data to load into server when server is initially created Examples: resource:/org/openanzo/model/initializeNew.nt uses the default initializeNew.nt that is stored within the anzo-repository.jar

    See Also:
    Constant Field Values

    KEY_REPOSITORY_JMX_ENABLED

    public static final java.lang.String KEY_REPOSITORY_JMX_ENABLED
    Key for property "org.openanzo.repository.jmx.enabled"
  • Server:Enable the JMX server
  • Embedded:Not available.
  • Examples: JMX URL if listening port is 9393: service:jmx:rmi://localhost:9393/jndi/rmi://localhost:9394/server

    See Also:
    Constant Field Values

    KEY_REPOSITORY_JMX_PORT

    public static final java.lang.String KEY_REPOSITORY_JMX_PORT
    Key for property "org.openanzo.repository.jmx.port"
  • Server:The JMX Management port
  • Embedded:Not Available
  • Examples: 5000 (default if no value provided)

    See Also:
    Constant Field Values

    KEY_REPOSITORY_RESET_ENABLED

    public static final java.lang.String KEY_REPOSITORY_RESET_ENABLED
    Key for property "org.openanzo.repository.reset.enabled"
  • Server:Reset method enabled on server. Only enable when testing, since there is no authentication needed to reset the server's data.
  • Embedded:Same as Server.
  • See Also:
    Constant Field Values

    KEY_REPOSITORY_RESET_HARD_RESET

    public static final java.lang.String KEY_REPOSITORY_RESET_HARD_RESET
    Key for property "org.openanzo.repository.reset.hard"
  • Server:Use drop tables to reset instead of delete to clear tables. When a database has a lot of data already stored, and reset is called, it is faster to do drop the tables and recreate them.
  • Embedded:Same as Server.
  • See Also:
    Constant Field Values

    KEY_REPOSITORY_PUBLISHER_ENABLED

    public static final java.lang.String KEY_REPOSITORY_PUBLISHER_ENABLED
    Key for property "org.openanzo.repository.notification.publisher.enabled" The update publisher is responsible for taking the contents of committed transactions and publishing them to the notification server.
  • Server:Should always be true, unless the server is providing no notification services.
  • Embedded:See server. When in embedded mode, it is necessary to have an independent notification server running in order to keep multiple embedded servers in synch and to provide notification services.
  • See Also:
    Constant Field Values

    KEY_REPOSITORY_PUBLISHER_USER

    public static final java.lang.String KEY_REPOSITORY_PUBLISHER_USER
    Key for property "org.openanzo.repository.notification.publisher.user" This id is used for the update publisher.
  • Server:This login id is only used for publishing the update message to the notification server, and must be a member of the sysadmin role.
  • Embedded:See server. Note:Only used for the update publisher, and not for other notification services.
  • Examples: sysadmin

    See Also:
    Constant Field Values

    KEY_REPOSITORY_PUBLISHER_PASSWORD

    public static final java.lang.String KEY_REPOSITORY_PUBLISHER_PASSWORD
    Key for property "org.openanzo.repository.notification.publisher.password" This password is used for the update publisher.
  • Server:This password is only used for publishing the update message to the notification server.
  • Embedded:See server. Note:Only used for the update publisher, and not for other notification services.
  • Examples: 123

    See Also:
    Constant Field Values

    KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS

    public static final java.lang.String KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS
    Key for property "org.openanzo.repository.notification.publisher.jmsProviderClass" The Class name of the underlying JMS provider implementation that will be used to connect to the notification server. Examples: org.openanzo.common.jms.ActiveMqProvider

    See Also:
    Constant Field Values

    KEY_REPOSITORY_PUBLISHER_HOST

    public static final java.lang.String KEY_REPOSITORY_PUBLISHER_HOST
    Key for property "org.openanzo.repository.notification.publisher.host" This hostname/IP address or connection URL is used for the update publisher.
  • Server:This hostname/IP address or connection URL is only used for publishing the update message to the notification server.
  • Embedded:See server. Note:Only used for the update publisher, and not for other notification services.
  • Examples: localhost or vm://localhost

    See Also:
    Constant Field Values

    KEY_REPOSITORY_PUBLISHER_PORT

    public static final java.lang.String KEY_REPOSITORY_PUBLISHER_PORT
    Key for property "org.openanzo.repository.notification.publisher.port" The port used by the update publisher to connect to the notification server.
  • Server:The port used for publishing the update message to the notification server.
  • Embedded:See server. Note:Only used for the update publisher, and not for other notification services.
  • Examples: 61616

    See Also:
    Constant Field Values

    KEY_NOTIFICATION_BROKER_HOST

    public static final java.lang.String KEY_NOTIFICATION_BROKER_HOST
    Key for property "org.openanzo.repository.notification.broker.host"
  • Server:When using an embedded ActiveMQ JMS server, this setting is used to define to which interface the JMS server should bind.
  • Embedded:Not available
  • Examples: localhost: default binds to all interfaces

    See Also:
    Constant Field Values

    KEY_NOTIFICATION_BROKER_PORT

    public static final java.lang.String KEY_NOTIFICATION_BROKER_PORT
    Key for property "org.openanzo.repository.notification.broker.port"
  • Server:When using an embedded ActiveMQ JMS server, this setting is used to define on which port the JMS server should listen.
  • Embedded:Not available
  • Examples: 61616

    See Also:
    Constant Field Values

    KEY_NOTIFICATION_BROKER_ENABLED

    public static final java.lang.String KEY_NOTIFICATION_BROKER_ENABLED
    Key for property "org.openanzo.repository.notification.broker.enabled"
  • Server:This property is used to enable the embedded ActiveMQ JMS broker within the server.
  • Embedded:Not available
  • See Also:
    Constant Field Values

    KEY_REPOSITORY_WEBSERVER_HOST

    public static final java.lang.String KEY_REPOSITORY_WEBSERVER_HOST
    Key for property "org.openanzo.repository.webserver.host"
  • Server:If set, this property defines on to which network interface the server binds
  • Embedded:Not available
  • Examples: If not set, webserver binds to all interfaces. localhost : only bind to the loopback interface

    See Also:
    Constant Field Values

    KEY_REPOSITORY_WEBSERVER_PORT

    public static final java.lang.String KEY_REPOSITORY_WEBSERVER_PORT
    Key for property "org.openanzo.repository.webserver.port"
  • Server:This property defines on which port the webserver listens
  • Embedded:Not available
  • Examples: 8080 (default)

    See Also:
    Constant Field Values

    KEY_REPOSITORY_TIMEOUT

    public static final java.lang.String KEY_REPOSITORY_TIMEOUT
    Key for property "org.openanzo.repository.webserver.timeout"
  • Server:The amount of time in milliseconds that a client request can wait before a timeout exception is thrown.
  • Embedded:Not available
  • Examples: 60000 == 1 minute

    See Also:
    Constant Field Values

    KEY_REPOSITORY_WEBSERVER_DOCROOT

    public static final java.lang.String KEY_REPOSITORY_WEBSERVER_DOCROOT
    Key for property "org.openanzo.repository.webserver.docroot"
  • Server:Directory on server to use as webserver's docroot. Currently the contents are available under /srv, ie http://localhost:8080/srv.
  • Embedded:Not Available
  • See Also:
    Constant Field Values
    Constructor Detail

    RepositoryProperties

    public RepositoryProperties()
    Method Detail

    getAuthenticationProviderClass

    public static java.lang.String getAuthenticationProviderClass(java.util.Properties properties,
                                                                  java.lang.String defaultValue)
    Get KEY_REPOSITORY_AUTHENTICATION_PROVIDER property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for authenticationProviderClass
    Returns:
    value of KEY_REPOSITORY_AUTHENTICATION_PROVIDERor defaultValue if not present

    setAuthenticationProviderClass

    public static void setAuthenticationProviderClass(java.util.Properties properties,
                                                      java.lang.String authenticationProviderClass)
    Set KEY_REPOSITORY_AUTHENTICATION_PROVIDER property to authenticationProviderClass in properties

    Parameters:
    properties - containing configuration data
    authenticationProviderClass - value for authenticationProviderClass

    getInitFile

    public static java.lang.String getInitFile(java.util.Properties properties)
    Get KEY_REPOSITORY_INITFILE property from properties

    Parameters:
    properties - containing configuration data
    Returns:
    value of KEY_REPOSITORY_INITFILE if not present

    setInitFile

    public static void setInitFile(java.util.Properties properties,
                                   java.lang.String initFile)
    Set KEY_REPOSITORY_INITFILE property to initFile in properties

    Parameters:
    properties - containing configuration data
    initFile - value for initFile

    getJmxEnabled

    public static boolean getJmxEnabled(java.util.Properties properties,
                                        boolean defaultValue)
    Get KEY_REPOSITORY_JMX_ENABLED property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for jmx.enabled
    Returns:
    value of KEY_REPOSITORY_JMX_ENABLEDor defaultValue if not present

    setJmxEnabled

    public static void setJmxEnabled(java.util.Properties properties,
                                     boolean jmxEnabled)
    Set KEY_REPOSITORY_JMX_ENABLED property to jmx.enabled in properties

    Parameters:
    properties - containing configuration data
    jmxEnabled - value for jmx.enabled

    getJmxPort

    public static int getJmxPort(java.util.Properties properties,
                                 int defaultValue)
    Get KEY_REPOSITORY_JMX_PORT property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for jmx.port
    Returns:
    value of KEY_REPOSITORY_JMX_PORTor defaultValue if not present

    setJmxPort

    public static void setJmxPort(java.util.Properties properties,
                                  int jmxPort)
    Set KEY_REPOSITORY_JMX_PORT property to jmx.port in properties

    Parameters:
    properties - containing configuration data
    jmxPort - value for jmx.port

    getResetEnabled

    public static boolean getResetEnabled(java.util.Properties properties,
                                          boolean defaultValue)
    Get KEY_REPOSITORY_RESET_ENABLED property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for reset.enabled
    Returns:
    value of KEY_REPOSITORY_RESET_ENABLEDor defaultValue if not present

    setResetEnabled

    public static void setResetEnabled(java.util.Properties properties,
                                       boolean resetEnabled)
    Set KEY_REPOSITORY_RESET_ENABLED property to reset.enabled in properties

    Parameters:
    properties - containing configuration data
    resetEnabled - value for reset.enabled

    getResetHard

    public static boolean getResetHard(java.util.Properties properties,
                                       boolean defaultValue)
    Get KEY_REPOSITORY_RESET_HARD_RESET property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for reset.hard
    Returns:
    value of KEY_REPOSITORY_RESET_HARD_RESETor defaultValue if not present

    setResetHard

    public static void setResetHard(java.util.Properties properties,
                                    boolean resetHard)
    Set KEY_REPOSITORY_RESET_HARD_RESET property to reset.hard in properties

    Parameters:
    properties - containing configuration data
    resetHard - value for reset.hard

    getNotificationPublisherEnabled

    public static boolean getNotificationPublisherEnabled(java.util.Properties properties,
                                                          boolean defaultValue)
    Get KEY_REPOSITORY_PUBLISHER_ENABLED property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.publisher.enabled
    Returns:
    value of KEY_REPOSITORY_PUBLISHER_ENABLEDor defaultValue if not present

    setNotificationPublisherEnabled

    public static void setNotificationPublisherEnabled(java.util.Properties properties,
                                                       boolean notificationPublisherEnabled)
    Set KEY_REPOSITORY_PUBLISHER_ENABLED property to notification.publisher.enabled in properties

    Parameters:
    properties - containing configuration data
    notificationPublisherEnabled - value for notification.publisher.enabled

    getNotificationPublisherUser

    public static java.lang.String getNotificationPublisherUser(java.util.Properties properties,
                                                                java.lang.String defaultValue)
    Get KEY_REPOSITORY_PUBLISHER_USER property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.publisher.user
    Returns:
    value of KEY_REPOSITORY_PUBLISHER_USERor defaultValue if not present

    setNotificationPublisherUser

    public static void setNotificationPublisherUser(java.util.Properties properties,
                                                    java.lang.String notificationPublisherUser)
    Set KEY_REPOSITORY_PUBLISHER_USER property to notification.publisher.user in properties

    Parameters:
    properties - containing configuration data
    notificationPublisherUser - value for notification.publisher.user

    getNotificationPublisherPassword

    public static java.lang.String getNotificationPublisherPassword(java.util.Properties properties,
                                                                    java.lang.String defaultValue)
    Get KEY_REPOSITORY_PUBLISHER_PASSWORD property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.publisher.password
    Returns:
    value of KEY_REPOSITORY_PUBLISHER_PASSWORDor defaultValue if not present

    setNotificationPublisherPassword

    public static void setNotificationPublisherPassword(java.util.Properties properties,
                                                        java.lang.String notificationPublisherPassword)
    Set KEY_REPOSITORY_PUBLISHER_PASSWORD property to notification.publisher.password in properties

    Parameters:
    properties - containing configuration data
    notificationPublisherPassword - value for notification.publisher.password

    getNotificationPublisherJmsProviderClass

    public static java.lang.String getNotificationPublisherJmsProviderClass(java.util.Properties properties,
                                                                            java.lang.String defaultValue)
    Get KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.publisher.jmsProviderClass
    Returns:
    value of KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASSor defaultValue if not present

    setNotificationPublisherJmsProviderClass

    public static void setNotificationPublisherJmsProviderClass(java.util.Properties properties,
                                                                java.lang.String notificationPublisherJmsProviderClass)
    Set KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS property to notification.publisher.jmsProviderClass in properties

    Parameters:
    properties - containing configuration data
    notificationPublisherJmsProviderClass - value for notification.publisher.jmsProviderClass

    getNotificationPublisherHost

    public static java.lang.String getNotificationPublisherHost(java.util.Properties properties,
                                                                java.lang.String defaultValue)
    Get KEY_REPOSITORY_PUBLISHER_HOST property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.publisher.host
    Returns:
    value of KEY_REPOSITORY_PUBLISHER_HOSTor defaultValue if not present

    setNotificationPublisherHost

    public static void setNotificationPublisherHost(java.util.Properties properties,
                                                    java.lang.String notificationPublisherHost)
    Set KEY_REPOSITORY_PUBLISHER_HOST property to notification.publisher.host in properties

    Parameters:
    properties - containing configuration data
    notificationPublisherHost - value for notification.publisher.host

    getNotificationPublisherPort

    public static int getNotificationPublisherPort(java.util.Properties properties,
                                                   int defaultValue)
    Get KEY_REPOSITORY_PUBLISHER_PORT property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.publisher.port
    Returns:
    value of KEY_REPOSITORY_PUBLISHER_PORTor defaultValue if not present

    setNotificationPublisherPort

    public static void setNotificationPublisherPort(java.util.Properties properties,
                                                    int notificationPublisherPort)
    Set KEY_REPOSITORY_PUBLISHER_PORT property to notification.publisher.port in properties

    Parameters:
    properties - containing configuration data
    notificationPublisherPort - value for notification.publisher.port

    getNotificationBrokerHost

    public static java.lang.String getNotificationBrokerHost(java.util.Properties properties,
                                                             java.lang.String defaultValue)
    Get KEY_NOTIFICATION_BROKER_HOST property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.broker.host
    Returns:
    value of KEY_NOTIFICATION_BROKER_HOSTor defaultValue if not present

    setNotificationBrokerHost

    public static void setNotificationBrokerHost(java.util.Properties properties,
                                                 java.lang.String notificationBrokerHost)
    Set KEY_NOTIFICATION_BROKER_HOST property to notification.broker.host in properties

    Parameters:
    properties - containing configuration data
    notificationBrokerHost - value for notification.broker.host

    getNotificationBrokerPort

    public static int getNotificationBrokerPort(java.util.Properties properties,
                                                int defaultValue)
    Get KEY_NOTIFICATION_BROKER_PORT property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.broker.port
    Returns:
    value of KEY_NOTIFICATION_BROKER_PORTor defaultValue if not present

    setNotificationBrokerPort

    public static void setNotificationBrokerPort(java.util.Properties properties,
                                                 int notificationBrokerPort)
    Set KEY_NOTIFICATION_BROKER_PORT property to notification.broker.port in properties

    Parameters:
    properties - containing configuration data
    notificationBrokerPort - value for notification.broker.port

    getNotificationBrokerEnabled

    public static boolean getNotificationBrokerEnabled(java.util.Properties properties,
                                                       boolean defaultValue)
    Get KEY_NOTIFICATION_BROKER_ENABLED property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for notification.broker.enabled
    Returns:
    value of KEY_NOTIFICATION_BROKER_ENABLEDor defaultValue if not present

    setNotificationBrokerEnabled

    public static void setNotificationBrokerEnabled(java.util.Properties properties,
                                                    boolean notificationBrokerEnabled)
    Set KEY_NOTIFICATION_BROKER_ENABLED property to notification.broker.enabled in properties

    Parameters:
    properties - containing configuration data
    notificationBrokerEnabled - value for notification.broker.enabled

    getWebserverHost

    public static java.lang.String getWebserverHost(java.util.Properties properties,
                                                    java.lang.String defaultValue)
    Get KEY_REPOSITORY_WEBSERVER_HOST property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for webserver.host
    Returns:
    value of KEY_REPOSITORY_WEBSERVER_HOSTor defaultValue if not present

    setWebserverHost

    public static void setWebserverHost(java.util.Properties properties,
                                        java.lang.String webserverHost)
    Set KEY_REPOSITORY_WEBSERVER_HOST property to webserver.host in properties

    Parameters:
    properties - containing configuration data
    webserverHost - value for webserver.host

    getWebserverPort

    public static int getWebserverPort(java.util.Properties properties,
                                       int defaultValue)
    Get KEY_REPOSITORY_WEBSERVER_PORT property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for webserver.port
    Returns:
    value of KEY_REPOSITORY_WEBSERVER_PORTor defaultValue if not present

    setWebserverPort

    public static void setWebserverPort(java.util.Properties properties,
                                        int webserverPort)
    Set KEY_REPOSITORY_WEBSERVER_PORT property to webserver.port in properties

    Parameters:
    properties - containing configuration data
    webserverPort - value for webserver.port

    getWebserverTimeout

    public static long getWebserverTimeout(java.util.Properties properties,
                                           long defaultValue)
    Get KEY_REPOSITORY_TIMEOUT property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for webserver.timeout
    Returns:
    value of KEY_REPOSITORY_TIMEOUTor defaultValue if not present

    setWebserverTimeout

    public static void setWebserverTimeout(java.util.Properties properties,
                                           long webserverTimeout)
    Set KEY_REPOSITORY_TIMEOUT property to webserver.timeout in properties

    Parameters:
    properties - containing configuration data
    webserverTimeout - value for webserver.timeout

    getWebserverDocroot

    public static java.lang.String getWebserverDocroot(java.util.Properties properties,
                                                       java.lang.String defaultValue)
    Get KEY_REPOSITORY_WEBSERVER_DOCROOT property from properties

    Parameters:
    properties - containing configuration data
    defaultValue - defaultValue for webserver.docroot
    Returns:
    value of KEY_REPOSITORY_WEBSERVER_DOCROOTor defaultValue if not present

    setWebserverDocroot

    public static void setWebserverDocroot(java.util.Properties properties,
                                           java.lang.String webserverDocroot)
    Set KEY_REPOSITORY_WEBSERVER_DOCROOT property to webserver.docroot in properties

    Parameters:
    properties - containing configuration data
    webserverDocroot - value for webserver.docroot


    Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.