|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.RepositoryProperties
public class RepositoryProperties
Configuration properties for the repository server.
| 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 |
|---|
public static final java.lang.String KEY_REPOSITORY_AUTHENTICATION_PROVIDER
public static final java.lang.String KEY_REPOSITORY_INITFILE
public static final java.lang.String KEY_REPOSITORY_JMX_ENABLED
public static final java.lang.String KEY_REPOSITORY_JMX_PORT
public static final java.lang.String KEY_REPOSITORY_RESET_ENABLED
public static final java.lang.String KEY_REPOSITORY_RESET_HARD_RESET
public static final java.lang.String KEY_REPOSITORY_PUBLISHER_ENABLED
public static final java.lang.String KEY_REPOSITORY_PUBLISHER_USER
public static final java.lang.String KEY_REPOSITORY_PUBLISHER_PASSWORD
public static final java.lang.String KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS
public static final java.lang.String KEY_REPOSITORY_PUBLISHER_HOST
public static final java.lang.String KEY_REPOSITORY_PUBLISHER_PORT
public static final java.lang.String KEY_NOTIFICATION_BROKER_HOST
public static final java.lang.String KEY_NOTIFICATION_BROKER_PORT
public static final java.lang.String KEY_NOTIFICATION_BROKER_ENABLED
public static final java.lang.String KEY_REPOSITORY_WEBSERVER_HOST
public static final java.lang.String KEY_REPOSITORY_WEBSERVER_PORT
public static final java.lang.String KEY_REPOSITORY_TIMEOUT
public static final java.lang.String KEY_REPOSITORY_WEBSERVER_DOCROOT
| Constructor Detail |
|---|
public RepositoryProperties()
| Method Detail |
|---|
public static java.lang.String getAuthenticationProviderClass(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_AUTHENTICATION_PROVIDER property from properties
properties - containing configuration datadefaultValue - defaultValue for authenticationProviderClass
KEY_REPOSITORY_AUTHENTICATION_PROVIDERor defaultValue if not present
public static void setAuthenticationProviderClass(java.util.Properties properties,
java.lang.String authenticationProviderClass)
KEY_REPOSITORY_AUTHENTICATION_PROVIDER property to authenticationProviderClass in properties
properties - containing configuration dataauthenticationProviderClass - value for authenticationProviderClasspublic static java.lang.String getInitFile(java.util.Properties properties)
KEY_REPOSITORY_INITFILE property from properties
properties - containing configuration data
KEY_REPOSITORY_INITFILE if not present
public static void setInitFile(java.util.Properties properties,
java.lang.String initFile)
KEY_REPOSITORY_INITFILE property to initFile in properties
properties - containing configuration datainitFile - value for initFile
public static boolean getJmxEnabled(java.util.Properties properties,
boolean defaultValue)
KEY_REPOSITORY_JMX_ENABLED property from properties
properties - containing configuration datadefaultValue - defaultValue for jmx.enabled
KEY_REPOSITORY_JMX_ENABLEDor defaultValue if not present
public static void setJmxEnabled(java.util.Properties properties,
boolean jmxEnabled)
KEY_REPOSITORY_JMX_ENABLED property to jmx.enabled in properties
properties - containing configuration datajmxEnabled - value for jmx.enabled
public static int getJmxPort(java.util.Properties properties,
int defaultValue)
KEY_REPOSITORY_JMX_PORT property from properties
properties - containing configuration datadefaultValue - defaultValue for jmx.port
KEY_REPOSITORY_JMX_PORTor defaultValue if not present
public static void setJmxPort(java.util.Properties properties,
int jmxPort)
KEY_REPOSITORY_JMX_PORT property to jmx.port in properties
properties - containing configuration datajmxPort - value for jmx.port
public static boolean getResetEnabled(java.util.Properties properties,
boolean defaultValue)
KEY_REPOSITORY_RESET_ENABLED property from properties
properties - containing configuration datadefaultValue - defaultValue for reset.enabled
KEY_REPOSITORY_RESET_ENABLEDor defaultValue if not present
public static void setResetEnabled(java.util.Properties properties,
boolean resetEnabled)
KEY_REPOSITORY_RESET_ENABLED property to reset.enabled in properties
properties - containing configuration dataresetEnabled - value for reset.enabled
public static boolean getResetHard(java.util.Properties properties,
boolean defaultValue)
KEY_REPOSITORY_RESET_HARD_RESET property from properties
properties - containing configuration datadefaultValue - defaultValue for reset.hard
KEY_REPOSITORY_RESET_HARD_RESETor defaultValue if not present
public static void setResetHard(java.util.Properties properties,
boolean resetHard)
KEY_REPOSITORY_RESET_HARD_RESET property to reset.hard in properties
properties - containing configuration dataresetHard - value for reset.hard
public static boolean getNotificationPublisherEnabled(java.util.Properties properties,
boolean defaultValue)
KEY_REPOSITORY_PUBLISHER_ENABLED property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.publisher.enabled
KEY_REPOSITORY_PUBLISHER_ENABLEDor defaultValue if not present
public static void setNotificationPublisherEnabled(java.util.Properties properties,
boolean notificationPublisherEnabled)
KEY_REPOSITORY_PUBLISHER_ENABLED property to notification.publisher.enabled in properties
properties - containing configuration datanotificationPublisherEnabled - value for notification.publisher.enabled
public static java.lang.String getNotificationPublisherUser(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_PUBLISHER_USER property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.publisher.user
KEY_REPOSITORY_PUBLISHER_USERor defaultValue if not present
public static void setNotificationPublisherUser(java.util.Properties properties,
java.lang.String notificationPublisherUser)
KEY_REPOSITORY_PUBLISHER_USER property to notification.publisher.user in properties
properties - containing configuration datanotificationPublisherUser - value for notification.publisher.user
public static java.lang.String getNotificationPublisherPassword(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_PUBLISHER_PASSWORD property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.publisher.password
KEY_REPOSITORY_PUBLISHER_PASSWORDor defaultValue if not present
public static void setNotificationPublisherPassword(java.util.Properties properties,
java.lang.String notificationPublisherPassword)
KEY_REPOSITORY_PUBLISHER_PASSWORD property to notification.publisher.password in properties
properties - containing configuration datanotificationPublisherPassword - value for notification.publisher.password
public static java.lang.String getNotificationPublisherJmsProviderClass(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.publisher.jmsProviderClass
KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASSor defaultValue if not present
public static void setNotificationPublisherJmsProviderClass(java.util.Properties properties,
java.lang.String notificationPublisherJmsProviderClass)
KEY_REPOSITORY_PUBLISHER_PROVIDER_CLASS property to notification.publisher.jmsProviderClass in properties
properties - containing configuration datanotificationPublisherJmsProviderClass - value for notification.publisher.jmsProviderClass
public static java.lang.String getNotificationPublisherHost(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_PUBLISHER_HOST property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.publisher.host
KEY_REPOSITORY_PUBLISHER_HOSTor defaultValue if not present
public static void setNotificationPublisherHost(java.util.Properties properties,
java.lang.String notificationPublisherHost)
KEY_REPOSITORY_PUBLISHER_HOST property to notification.publisher.host in properties
properties - containing configuration datanotificationPublisherHost - value for notification.publisher.host
public static int getNotificationPublisherPort(java.util.Properties properties,
int defaultValue)
KEY_REPOSITORY_PUBLISHER_PORT property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.publisher.port
KEY_REPOSITORY_PUBLISHER_PORTor defaultValue if not present
public static void setNotificationPublisherPort(java.util.Properties properties,
int notificationPublisherPort)
KEY_REPOSITORY_PUBLISHER_PORT property to notification.publisher.port in properties
properties - containing configuration datanotificationPublisherPort - value for notification.publisher.port
public static java.lang.String getNotificationBrokerHost(java.util.Properties properties,
java.lang.String defaultValue)
KEY_NOTIFICATION_BROKER_HOST property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.broker.host
KEY_NOTIFICATION_BROKER_HOSTor defaultValue if not present
public static void setNotificationBrokerHost(java.util.Properties properties,
java.lang.String notificationBrokerHost)
KEY_NOTIFICATION_BROKER_HOST property to notification.broker.host in properties
properties - containing configuration datanotificationBrokerHost - value for notification.broker.host
public static int getNotificationBrokerPort(java.util.Properties properties,
int defaultValue)
KEY_NOTIFICATION_BROKER_PORT property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.broker.port
KEY_NOTIFICATION_BROKER_PORTor defaultValue if not present
public static void setNotificationBrokerPort(java.util.Properties properties,
int notificationBrokerPort)
KEY_NOTIFICATION_BROKER_PORT property to notification.broker.port in properties
properties - containing configuration datanotificationBrokerPort - value for notification.broker.port
public static boolean getNotificationBrokerEnabled(java.util.Properties properties,
boolean defaultValue)
KEY_NOTIFICATION_BROKER_ENABLED property from properties
properties - containing configuration datadefaultValue - defaultValue for notification.broker.enabled
KEY_NOTIFICATION_BROKER_ENABLEDor defaultValue if not present
public static void setNotificationBrokerEnabled(java.util.Properties properties,
boolean notificationBrokerEnabled)
KEY_NOTIFICATION_BROKER_ENABLED property to notification.broker.enabled in properties
properties - containing configuration datanotificationBrokerEnabled - value for notification.broker.enabled
public static java.lang.String getWebserverHost(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_WEBSERVER_HOST property from properties
properties - containing configuration datadefaultValue - defaultValue for webserver.host
KEY_REPOSITORY_WEBSERVER_HOSTor defaultValue if not present
public static void setWebserverHost(java.util.Properties properties,
java.lang.String webserverHost)
KEY_REPOSITORY_WEBSERVER_HOST property to webserver.host in properties
properties - containing configuration datawebserverHost - value for webserver.host
public static int getWebserverPort(java.util.Properties properties,
int defaultValue)
KEY_REPOSITORY_WEBSERVER_PORT property from properties
properties - containing configuration datadefaultValue - defaultValue for webserver.port
KEY_REPOSITORY_WEBSERVER_PORTor defaultValue if not present
public static void setWebserverPort(java.util.Properties properties,
int webserverPort)
KEY_REPOSITORY_WEBSERVER_PORT property to webserver.port in properties
properties - containing configuration datawebserverPort - value for webserver.port
public static long getWebserverTimeout(java.util.Properties properties,
long defaultValue)
KEY_REPOSITORY_TIMEOUT property from properties
properties - containing configuration datadefaultValue - defaultValue for webserver.timeout
KEY_REPOSITORY_TIMEOUTor defaultValue if not present
public static void setWebserverTimeout(java.util.Properties properties,
long webserverTimeout)
KEY_REPOSITORY_TIMEOUT property to webserver.timeout in properties
properties - containing configuration datawebserverTimeout - value for webserver.timeout
public static java.lang.String getWebserverDocroot(java.util.Properties properties,
java.lang.String defaultValue)
KEY_REPOSITORY_WEBSERVER_DOCROOT property from properties
properties - containing configuration datadefaultValue - defaultValue for webserver.docroot
KEY_REPOSITORY_WEBSERVER_DOCROOTor defaultValue if not present
public static void setWebserverDocroot(java.util.Properties properties,
java.lang.String webserverDocroot)
KEY_REPOSITORY_WEBSERVER_DOCROOT property to webserver.docroot in properties
properties - containing configuration datawebserverDocroot - value for webserver.docroot
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||