org.rhq.enterprise.installer
Class ServerProperties

java.lang.Object
  extended by org.rhq.enterprise.installer.ServerProperties

public class ServerProperties
extends Object


Field Summary
static List<javax.faces.model.SelectItem> CLIENT_AUTH_MODES
           
static List<javax.faces.model.SelectItem> DATABASE_TYPES
           
static String PREFIX_PROP_AUTOINSTALL
           
static String PREFIX_PROP_DATABASE
           
static String PREFIX_PROP_EMBEDDED_AGENT
           
static String PROP_AGENT_MULTICAST_DETECTOR_BIND_ADDRESS
           
static String PROP_AGENT_MULTICAST_DETECTOR_ENABLED
           
static String PROP_AGENT_MULTICAST_DETECTOR_MULTICAST_ADDRESS
           
static String PROP_AGENT_MULTICAST_DETECTOR_PORT
           
static String PROP_AJP_PORT
           
static String PROP_ASPECT_DEPLOYER_PORT
           
static String PROP_AUTOINSTALL_DB
           
static String PROP_AUTOINSTALL_ENABLE
           
static String PROP_AUTOINSTALL_PUBLIC_ENDPOINT
           
static String PROP_CONCURRENCY_LIMIT_AVAIL_REPORT
           
static String PROP_CONCURRENCY_LIMIT_CONTENT_DOWNLOAD
           
static String PROP_CONCURRENCY_LIMIT_CONTENT_REPORT
           
static String PROP_CONCURRENCY_LIMIT_GLOBAL
           
static String PROP_CONCURRENCY_LIMIT_INV_REPORT
           
static String PROP_CONCURRENCY_LIMIT_INV_SYNC
           
static String PROP_CONCURRENCY_LIMIT_MEAS_REPORT
           
static String PROP_CONCURRENCY_LIMIT_MEASSCHED_REQ
           
static String PROP_CONCURRENCY_LIMIT_WEBCONNS
           
static String PROP_CONNECTOR_BIND_ADDRESS
           
static String PROP_CONNECTOR_BIND_PORT
           
static String PROP_CONNECTOR_TRANSPORT
           
static String PROP_CONNECTOR_TRANSPORT_PARAMS
           
static String PROP_DATABASE_CONNECTION_URL
           
static String PROP_DATABASE_DB_NAME
           
static String PROP_DATABASE_DRIVER_CLASS
           
static String PROP_DATABASE_HIBERNATE_DIALECT
           
static String PROP_DATABASE_PASSWORD
           
static String PROP_DATABASE_PORT
           
static String PROP_DATABASE_SERVER_NAME
           
static String PROP_DATABASE_TYPE
           
static String PROP_DATABASE_USERNAME
           
static String PROP_DATABASE_XA_DS_CLASS
           
static String PROP_EMAIL_FROM_ADDRESS
           
static String PROP_EMAIL_SMTP_HOST
           
static String PROP_EMAIL_SMTP_PORT
           
static String PROP_EMBEDDED_AGENT_DISABLE_NATIVE_SYSTEM
           
static String PROP_EMBEDDED_AGENT_ENABLED
           
static String PROP_EMBEDDED_AGENT_NAME
           
static String PROP_EMBEDDED_AGENT_RESET_CONFIGURATION
           
static String PROP_HIGH_AVAILABILITY_NAME
           
static String PROP_HTTP_PORT
           
static String PROP_HTTPS_PORT
           
static String PROP_JRMP_INVOKER_RMI_PORT
           
static String PROP_MM_AT_START
           
static String PROP_NAMING_SERVICE_PORT
           
static String PROP_NAMING_SERVICE_RMI_PORT
           
static String PROP_OPERATION_TIMEOUT
           
static String PROP_POOLED_INVOKER_RMI_PORT
           
static String PROP_QUARTZ_DRIVER_DELEGATE_CLASS
           
static String PROP_QUARTZ_LOCK_HANDLER_CLASS
           
static String PROP_QUARTZ_SELECT_WITH_LOCK_SQL
           
static String PROP_SECURITY_CLIENT_KEYSTORE_ALGORITHM
           
static String PROP_SECURITY_CLIENT_KEYSTORE_ALIAS
           
static String PROP_SECURITY_CLIENT_KEYSTORE_FILE
           
static String PROP_SECURITY_CLIENT_KEYSTORE_KEY_PASSWORD
           
static String PROP_SECURITY_CLIENT_KEYSTORE_PASSWORD
           
static String PROP_SECURITY_CLIENT_KEYSTORE_TYPE
           
static String PROP_SECURITY_CLIENT_SECURE_SOCKET_PROTOCOL
           
static String PROP_SECURITY_CLIENT_SERVER_AUTH_MODE_ENABLED
           
static String PROP_SECURITY_CLIENT_TRUSTSTORE_ALGORITHM
           
static String PROP_SECURITY_CLIENT_TRUSTSTORE_FILE
           
static String PROP_SECURITY_CLIENT_TRUSTSTORE_PASSWORD
           
static String PROP_SECURITY_CLIENT_TRUSTSTORE_TYPE
           
static String PROP_SECURITY_SERVER_CLIENT_AUTH_MODE
           
static String PROP_SECURITY_SERVER_KEYSTORE_ALGORITHM
           
static String PROP_SECURITY_SERVER_KEYSTORE_ALIAS
           
static String PROP_SECURITY_SERVER_KEYSTORE_FILE
           
static String PROP_SECURITY_SERVER_KEYSTORE_KEY_PASSWORD
           
static String PROP_SECURITY_SERVER_KEYSTORE_PASSWORD
           
static String PROP_SECURITY_SERVER_KEYSTORE_TYPE
           
static String PROP_SECURITY_SERVER_SECURE_SOCKET_PROTOCOL
           
static String PROP_SECURITY_SERVER_TRUSTSTORE_ALGORITHM
           
static String PROP_SECURITY_SERVER_TRUSTSTORE_FILE
           
static String PROP_SECURITY_SERVER_TRUSTSTORE_PASSWORD
           
static String PROP_SECURITY_SERVER_TRUSTSTORE_TYPE
           
static String PROP_SERVER_BIND_ADDRESS
           
static String PROP_TOMCAT_SECURITY_ALGORITHM
           
static String PROP_TOMCAT_SECURITY_CLIENT_AUTH_MOD
           
static String PROP_TOMCAT_SECURITY_KEYSTORE_ALIAS
           
static String PROP_TOMCAT_SECURITY_KEYSTORE_FILENAME
           
static String PROP_TOMCAT_SECURITY_KEYSTORE_PASSWORD
           
static String PROP_TOMCAT_SECURITY_KEYSTORE_TYPE
           
static String PROP_TOMCAT_SECURITY_SSL_PROTOCOL
           
static String PROP_TOMCAT_SECURITY_TRUSTSTORE_FILENAME
           
static String PROP_TOMCAT_SECURITY_TRUSTSTORE_PASSWORD
           
static String PROP_TOMCAT_SECURITY_TRUSTSTORE_TYPE
           
static String PROP_UNIFIED_INVOKER_PORT
           
static String PROP_WEB_SERVICE_PORT
           
static List<javax.faces.model.SelectItem> TOMCAT_CLIENT_AUTH_MODES
           
 
Constructor Summary
ServerProperties()
           
 
Method Summary
static String getHttpPort(Properties props)
          Static convenience method that returns the HTTP port as defined in the given properties.
 List<PropertyItem> getPropertyItems()
          Returns the list of all known property items the server supports, in an order that is appropriate for display.
static String getValidServerBindAddress(Properties props)
          Static convenience method that returns a valid server bind address as defined in the given properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX_PROP_DATABASE

public static final String PREFIX_PROP_DATABASE
See Also:
Constant Field Values

PROP_DATABASE_TYPE

public static final String PROP_DATABASE_TYPE
See Also:
Constant Field Values

PROP_DATABASE_CONNECTION_URL

public static final String PROP_DATABASE_CONNECTION_URL
See Also:
Constant Field Values

PROP_DATABASE_DRIVER_CLASS

public static final String PROP_DATABASE_DRIVER_CLASS
See Also:
Constant Field Values

PROP_DATABASE_USERNAME

public static final String PROP_DATABASE_USERNAME
See Also:
Constant Field Values

PROP_DATABASE_PASSWORD

public static final String PROP_DATABASE_PASSWORD
See Also:
Constant Field Values

PROP_DATABASE_XA_DS_CLASS

public static final String PROP_DATABASE_XA_DS_CLASS
See Also:
Constant Field Values

PROP_DATABASE_SERVER_NAME

public static final String PROP_DATABASE_SERVER_NAME
See Also:
Constant Field Values

PROP_DATABASE_PORT

public static final String PROP_DATABASE_PORT
See Also:
Constant Field Values

PROP_DATABASE_DB_NAME

public static final String PROP_DATABASE_DB_NAME
See Also:
Constant Field Values

PROP_DATABASE_HIBERNATE_DIALECT

public static final String PROP_DATABASE_HIBERNATE_DIALECT
See Also:
Constant Field Values

PROP_QUARTZ_DRIVER_DELEGATE_CLASS

public static final String PROP_QUARTZ_DRIVER_DELEGATE_CLASS
See Also:
Constant Field Values

PROP_QUARTZ_SELECT_WITH_LOCK_SQL

public static final String PROP_QUARTZ_SELECT_WITH_LOCK_SQL
See Also:
Constant Field Values

PROP_QUARTZ_LOCK_HANDLER_CLASS

public static final String PROP_QUARTZ_LOCK_HANDLER_CLASS
See Also:
Constant Field Values

PROP_SERVER_BIND_ADDRESS

public static final String PROP_SERVER_BIND_ADDRESS
See Also:
Constant Field Values

PROP_HTTP_PORT

public static final String PROP_HTTP_PORT
See Also:
Constant Field Values

PROP_HTTPS_PORT

public static final String PROP_HTTPS_PORT
See Also:
Constant Field Values

PROP_WEB_SERVICE_PORT

public static final String PROP_WEB_SERVICE_PORT
See Also:
Constant Field Values

PROP_NAMING_SERVICE_PORT

public static final String PROP_NAMING_SERVICE_PORT
See Also:
Constant Field Values

PROP_NAMING_SERVICE_RMI_PORT

public static final String PROP_NAMING_SERVICE_RMI_PORT
See Also:
Constant Field Values

PROP_JRMP_INVOKER_RMI_PORT

public static final String PROP_JRMP_INVOKER_RMI_PORT
See Also:
Constant Field Values

PROP_POOLED_INVOKER_RMI_PORT

public static final String PROP_POOLED_INVOKER_RMI_PORT
See Also:
Constant Field Values

PROP_AJP_PORT

public static final String PROP_AJP_PORT
See Also:
Constant Field Values

PROP_UNIFIED_INVOKER_PORT

public static final String PROP_UNIFIED_INVOKER_PORT
See Also:
Constant Field Values

PROP_ASPECT_DEPLOYER_PORT

public static final String PROP_ASPECT_DEPLOYER_PORT
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_CLIENT_AUTH_MOD

public static final String PROP_TOMCAT_SECURITY_CLIENT_AUTH_MOD
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_SSL_PROTOCOL

public static final String PROP_TOMCAT_SECURITY_SSL_PROTOCOL
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_ALGORITHM

public static final String PROP_TOMCAT_SECURITY_ALGORITHM
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_KEYSTORE_ALIAS

public static final String PROP_TOMCAT_SECURITY_KEYSTORE_ALIAS
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_KEYSTORE_FILENAME

public static final String PROP_TOMCAT_SECURITY_KEYSTORE_FILENAME
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_KEYSTORE_PASSWORD

public static final String PROP_TOMCAT_SECURITY_KEYSTORE_PASSWORD
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_KEYSTORE_TYPE

public static final String PROP_TOMCAT_SECURITY_KEYSTORE_TYPE
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_TRUSTSTORE_FILENAME

public static final String PROP_TOMCAT_SECURITY_TRUSTSTORE_FILENAME
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_TRUSTSTORE_PASSWORD

public static final String PROP_TOMCAT_SECURITY_TRUSTSTORE_PASSWORD
See Also:
Constant Field Values

PROP_TOMCAT_SECURITY_TRUSTSTORE_TYPE

public static final String PROP_TOMCAT_SECURITY_TRUSTSTORE_TYPE
See Also:
Constant Field Values

PROP_CONNECTOR_TRANSPORT

public static final String PROP_CONNECTOR_TRANSPORT
See Also:
Constant Field Values

PROP_CONNECTOR_BIND_ADDRESS

public static final String PROP_CONNECTOR_BIND_ADDRESS
See Also:
Constant Field Values

PROP_CONNECTOR_BIND_PORT

public static final String PROP_CONNECTOR_BIND_PORT
See Also:
Constant Field Values

PROP_CONNECTOR_TRANSPORT_PARAMS

public static final String PROP_CONNECTOR_TRANSPORT_PARAMS
See Also:
Constant Field Values

PROP_AGENT_MULTICAST_DETECTOR_ENABLED

public static final String PROP_AGENT_MULTICAST_DETECTOR_ENABLED
See Also:
Constant Field Values

PROP_AGENT_MULTICAST_DETECTOR_BIND_ADDRESS

public static final String PROP_AGENT_MULTICAST_DETECTOR_BIND_ADDRESS
See Also:
Constant Field Values

PROP_AGENT_MULTICAST_DETECTOR_MULTICAST_ADDRESS

public static final String PROP_AGENT_MULTICAST_DETECTOR_MULTICAST_ADDRESS
See Also:
Constant Field Values

PROP_AGENT_MULTICAST_DETECTOR_PORT

public static final String PROP_AGENT_MULTICAST_DETECTOR_PORT
See Also:
Constant Field Values

PROP_SECURITY_SERVER_SECURE_SOCKET_PROTOCOL

public static final String PROP_SECURITY_SERVER_SECURE_SOCKET_PROTOCOL
See Also:
Constant Field Values

PROP_SECURITY_SERVER_KEYSTORE_FILE

public static final String PROP_SECURITY_SERVER_KEYSTORE_FILE
See Also:
Constant Field Values

PROP_SECURITY_SERVER_KEYSTORE_ALGORITHM

public static final String PROP_SECURITY_SERVER_KEYSTORE_ALGORITHM
See Also:
Constant Field Values

PROP_SECURITY_SERVER_KEYSTORE_TYPE

public static final String PROP_SECURITY_SERVER_KEYSTORE_TYPE
See Also:
Constant Field Values

PROP_SECURITY_SERVER_KEYSTORE_PASSWORD

public static final String PROP_SECURITY_SERVER_KEYSTORE_PASSWORD
See Also:
Constant Field Values

PROP_SECURITY_SERVER_KEYSTORE_KEY_PASSWORD

public static final String PROP_SECURITY_SERVER_KEYSTORE_KEY_PASSWORD
See Also:
Constant Field Values

PROP_SECURITY_SERVER_KEYSTORE_ALIAS

public static final String PROP_SECURITY_SERVER_KEYSTORE_ALIAS
See Also:
Constant Field Values

PROP_SECURITY_SERVER_TRUSTSTORE_FILE

public static final String PROP_SECURITY_SERVER_TRUSTSTORE_FILE
See Also:
Constant Field Values

PROP_SECURITY_SERVER_TRUSTSTORE_ALGORITHM

public static final String PROP_SECURITY_SERVER_TRUSTSTORE_ALGORITHM
See Also:
Constant Field Values

PROP_SECURITY_SERVER_TRUSTSTORE_TYPE

public static final String PROP_SECURITY_SERVER_TRUSTSTORE_TYPE
See Also:
Constant Field Values

PROP_SECURITY_SERVER_TRUSTSTORE_PASSWORD

public static final String PROP_SECURITY_SERVER_TRUSTSTORE_PASSWORD
See Also:
Constant Field Values

PROP_SECURITY_SERVER_CLIENT_AUTH_MODE

public static final String PROP_SECURITY_SERVER_CLIENT_AUTH_MODE
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_SECURE_SOCKET_PROTOCOL

public static final String PROP_SECURITY_CLIENT_SECURE_SOCKET_PROTOCOL
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_KEYSTORE_FILE

public static final String PROP_SECURITY_CLIENT_KEYSTORE_FILE
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_KEYSTORE_ALGORITHM

public static final String PROP_SECURITY_CLIENT_KEYSTORE_ALGORITHM
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_KEYSTORE_TYPE

public static final String PROP_SECURITY_CLIENT_KEYSTORE_TYPE
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_KEYSTORE_PASSWORD

public static final String PROP_SECURITY_CLIENT_KEYSTORE_PASSWORD
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_KEYSTORE_KEY_PASSWORD

public static final String PROP_SECURITY_CLIENT_KEYSTORE_KEY_PASSWORD
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_KEYSTORE_ALIAS

public static final String PROP_SECURITY_CLIENT_KEYSTORE_ALIAS
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_TRUSTSTORE_FILE

public static final String PROP_SECURITY_CLIENT_TRUSTSTORE_FILE
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_TRUSTSTORE_ALGORITHM

public static final String PROP_SECURITY_CLIENT_TRUSTSTORE_ALGORITHM
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_TRUSTSTORE_TYPE

public static final String PROP_SECURITY_CLIENT_TRUSTSTORE_TYPE
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_TRUSTSTORE_PASSWORD

public static final String PROP_SECURITY_CLIENT_TRUSTSTORE_PASSWORD
See Also:
Constant Field Values

PROP_SECURITY_CLIENT_SERVER_AUTH_MODE_ENABLED

public static final String PROP_SECURITY_CLIENT_SERVER_AUTH_MODE_ENABLED
See Also:
Constant Field Values

PREFIX_PROP_EMBEDDED_AGENT

public static final String PREFIX_PROP_EMBEDDED_AGENT
See Also:
Constant Field Values

PROP_EMBEDDED_AGENT_ENABLED

public static final String PROP_EMBEDDED_AGENT_ENABLED
See Also:
Constant Field Values

PROP_EMBEDDED_AGENT_NAME

public static final String PROP_EMBEDDED_AGENT_NAME
See Also:
Constant Field Values

PROP_EMBEDDED_AGENT_DISABLE_NATIVE_SYSTEM

public static final String PROP_EMBEDDED_AGENT_DISABLE_NATIVE_SYSTEM
See Also:
Constant Field Values

PROP_EMBEDDED_AGENT_RESET_CONFIGURATION

public static final String PROP_EMBEDDED_AGENT_RESET_CONFIGURATION
See Also:
Constant Field Values

PROP_EMAIL_SMTP_HOST

public static final String PROP_EMAIL_SMTP_HOST
See Also:
Constant Field Values

PROP_EMAIL_SMTP_PORT

public static final String PROP_EMAIL_SMTP_PORT
See Also:
Constant Field Values

PROP_EMAIL_FROM_ADDRESS

public static final String PROP_EMAIL_FROM_ADDRESS
See Also:
Constant Field Values

PROP_OPERATION_TIMEOUT

public static final String PROP_OPERATION_TIMEOUT
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_WEBCONNS

public static final String PROP_CONCURRENCY_LIMIT_WEBCONNS
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_GLOBAL

public static final String PROP_CONCURRENCY_LIMIT_GLOBAL
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_INV_REPORT

public static final String PROP_CONCURRENCY_LIMIT_INV_REPORT
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_AVAIL_REPORT

public static final String PROP_CONCURRENCY_LIMIT_AVAIL_REPORT
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_INV_SYNC

public static final String PROP_CONCURRENCY_LIMIT_INV_SYNC
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_CONTENT_REPORT

public static final String PROP_CONCURRENCY_LIMIT_CONTENT_REPORT
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_CONTENT_DOWNLOAD

public static final String PROP_CONCURRENCY_LIMIT_CONTENT_DOWNLOAD
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_MEAS_REPORT

public static final String PROP_CONCURRENCY_LIMIT_MEAS_REPORT
See Also:
Constant Field Values

PROP_CONCURRENCY_LIMIT_MEASSCHED_REQ

public static final String PROP_CONCURRENCY_LIMIT_MEASSCHED_REQ
See Also:
Constant Field Values

PROP_HIGH_AVAILABILITY_NAME

public static final String PROP_HIGH_AVAILABILITY_NAME
See Also:
Constant Field Values

PROP_MM_AT_START

public static final String PROP_MM_AT_START
See Also:
Constant Field Values

PREFIX_PROP_AUTOINSTALL

public static final String PREFIX_PROP_AUTOINSTALL
See Also:
Constant Field Values

PROP_AUTOINSTALL_ENABLE

public static final String PROP_AUTOINSTALL_ENABLE
See Also:
Constant Field Values

PROP_AUTOINSTALL_DB

public static final String PROP_AUTOINSTALL_DB
See Also:
Constant Field Values

PROP_AUTOINSTALL_PUBLIC_ENDPOINT

public static final String PROP_AUTOINSTALL_PUBLIC_ENDPOINT
See Also:
Constant Field Values

DATABASE_TYPES

public static final List<javax.faces.model.SelectItem> DATABASE_TYPES

CLIENT_AUTH_MODES

public static final List<javax.faces.model.SelectItem> CLIENT_AUTH_MODES

TOMCAT_CLIENT_AUTH_MODES

public static final List<javax.faces.model.SelectItem> TOMCAT_CLIENT_AUTH_MODES
Constructor Detail

ServerProperties

public ServerProperties()
Method Detail

getPropertyItems

public List<PropertyItem> getPropertyItems()
Returns the list of all known property items the server supports, in an order that is appropriate for display.

Returns:
ordered list of property item definitions

getValidServerBindAddress

public static String getValidServerBindAddress(Properties props)
Static convenience method that returns a valid server bind address as defined in the given properties. If not found in the props or it is "0.0.0.0", then InetAddress.getLocalHost().getHostAddress() is used. Therefore, keep in mind that this might return a value that is different than the value actually specified in the given properties.

Parameters:
props -
Returns:
the server bind address string

getHttpPort

public static String getHttpPort(Properties props)
Static convenience method that returns the HTTP port as defined in the given properties. If not found in the props, it defaults to 7080. Therefore, keep in mind that this might return a value that is not actually specified in the given properties.

Parameters:
props -
Returns:
the http port


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.