org.apache.jetspeed.services.webpage
Class Configuration

java.lang.Object
  extended byorg.apache.jetspeed.services.webpage.Configuration

public class Configuration
extends java.lang.Object


Field Summary
static java.lang.String FALSE_VALUE
           
static java.lang.String HEADER
           
static java.lang.String KEY_CONTENT_ERROR
           
static java.lang.String KEY_CONTENT_INFO
           
static java.lang.String KEY_LOG_ENABLE
           
static java.lang.String KEY_LOG_LOCATION
           
static java.lang.String KEY_LOG_RESET
           
static java.lang.String KEY_LOGIN
           
static java.lang.String KEY_LOGIN_FAILURE
           
static java.lang.String KEY_LOGIN_SUCCESS
           
static java.lang.String KEY_LOGOUT
           
static java.lang.String KEY_PARAM_PASSWORD
           
static java.lang.String KEY_PARAM_PERMISSIONS
           
static java.lang.String KEY_PARAM_USER
           
static java.lang.String KEY_PARSER
           
static java.lang.String KEY_USER_DEFAULT
           
static java.lang.String KEY_USER_SESSION
           
static java.lang.String KEY_WEBAPP
           
static java.lang.String KEY_WPS_DEBUG
           
static java.lang.String KEY_WPS_PATH
           
static java.lang.String KEY_WPS_SID
           
static java.lang.String KEY_WPS_URL
           
static java.lang.String PARSER_OPENXML
           
static java.lang.String PARSER_SWING
           
static int STATUS_NOT_CONFIGURED
           
static int STATUS_OFFLINE
           
static int STATUS_ONLINE
           
static java.lang.String TRUE_VALUE
           
static java.lang.String WPS_LOG_LOCATION
           
static java.lang.String WPS_LOGIN
           
static java.lang.String WPS_LOGIN_FAILURE
           
static java.lang.String WPS_LOGIN_SUCCESS
           
static java.lang.String WPS_LOGOUT
           
static java.lang.String WPS_PARAM_PASSWORD
           
static java.lang.String WPS_PARAM_PERMISSIONS
           
static java.lang.String WPS_PARAM_USER
           
static java.lang.String WPS_PATH
           
static java.lang.String WPS_SERVLET
           
static java.lang.String WPS_SID
           
static java.lang.String WPS_URL
           
static java.lang.String WPS_USER_DEFAULT
           
static java.lang.String WPS_USER_SESSION
           
static java.lang.String WPS_WEBAPP
           
 
Method Summary
static java.lang.String createProxyString(java.lang.String proxyHost, java.lang.String neid, java.lang.String resource, java.lang.String relativePath)
           
 boolean getDebug()
           
 java.lang.String getDefaultUser()
           
 boolean getEnableContentLog()
           
static Configuration getInitialInstance(java.lang.String ppath)
           
static Configuration getInstance()
           
 java.lang.String getLogin()
           
 java.lang.String getLoginFailureString()
           
 java.lang.String getLoginSuccessString()
           
 java.lang.String getLogLocation()
           
 java.lang.String getLogout()
           
 java.lang.String getParamPassword()
           
 java.lang.String getParamPermissions()
           
 java.lang.String getParamUser()
           
 java.lang.String getParser()
           
 java.lang.String getPath()
           
 java.lang.String getProperty(java.lang.String name)
           
 boolean getResetContentLog()
           
 java.lang.String getSID()
           
 java.lang.String getURL()
           
 java.lang.String getUserSessionKey()
           
 java.lang.String getWebapp()
           
 void refresh()
           
 void setProperty(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WPS_SERVLET

public static final java.lang.String WPS_SERVLET
See Also:
Constant Field Values

STATUS_NOT_CONFIGURED

public static final int STATUS_NOT_CONFIGURED
See Also:
Constant Field Values

STATUS_ONLINE

public static final int STATUS_ONLINE
See Also:
Constant Field Values

STATUS_OFFLINE

public static final int STATUS_OFFLINE
See Also:
Constant Field Values

KEY_WPS_SID

public static final java.lang.String KEY_WPS_SID
See Also:
Constant Field Values

WPS_SID

public static final java.lang.String WPS_SID
See Also:
Constant Field Values

KEY_WPS_PATH

public static final java.lang.String KEY_WPS_PATH
See Also:
Constant Field Values

WPS_PATH

public static final java.lang.String WPS_PATH
See Also:
Constant Field Values

KEY_WPS_URL

public static final java.lang.String KEY_WPS_URL
See Also:
Constant Field Values

WPS_URL

public static final java.lang.String WPS_URL
See Also:
Constant Field Values

KEY_WPS_DEBUG

public static final java.lang.String KEY_WPS_DEBUG
See Also:
Constant Field Values

KEY_PARSER

public static final java.lang.String KEY_PARSER
See Also:
Constant Field Values

PARSER_SWING

public static final java.lang.String PARSER_SWING
See Also:
Constant Field Values

PARSER_OPENXML

public static final java.lang.String PARSER_OPENXML
See Also:
Constant Field Values

KEY_LOG_ENABLE

public static final java.lang.String KEY_LOG_ENABLE
See Also:
Constant Field Values

KEY_LOG_LOCATION

public static final java.lang.String KEY_LOG_LOCATION
See Also:
Constant Field Values

WPS_LOG_LOCATION

public static final java.lang.String WPS_LOG_LOCATION
See Also:
Constant Field Values

KEY_LOG_RESET

public static final java.lang.String KEY_LOG_RESET
See Also:
Constant Field Values

KEY_WEBAPP

public static final java.lang.String KEY_WEBAPP
See Also:
Constant Field Values

WPS_WEBAPP

public static final java.lang.String WPS_WEBAPP
See Also:
Constant Field Values

KEY_LOGIN

public static final java.lang.String KEY_LOGIN
See Also:
Constant Field Values

WPS_LOGIN

public static final java.lang.String WPS_LOGIN
See Also:
Constant Field Values

KEY_LOGOUT

public static final java.lang.String KEY_LOGOUT
See Also:
Constant Field Values

WPS_LOGOUT

public static final java.lang.String WPS_LOGOUT
See Also:
Constant Field Values

KEY_USER_SESSION

public static final java.lang.String KEY_USER_SESSION
See Also:
Constant Field Values

WPS_USER_SESSION

public static final java.lang.String WPS_USER_SESSION
See Also:
Constant Field Values

KEY_USER_DEFAULT

public static final java.lang.String KEY_USER_DEFAULT
See Also:
Constant Field Values

WPS_USER_DEFAULT

public static final java.lang.String WPS_USER_DEFAULT
See Also:
Constant Field Values

KEY_PARAM_USER

public static final java.lang.String KEY_PARAM_USER
See Also:
Constant Field Values

WPS_PARAM_USER

public static final java.lang.String WPS_PARAM_USER
See Also:
Constant Field Values

KEY_PARAM_PASSWORD

public static final java.lang.String KEY_PARAM_PASSWORD
See Also:
Constant Field Values

WPS_PARAM_PASSWORD

public static final java.lang.String WPS_PARAM_PASSWORD
See Also:
Constant Field Values

KEY_PARAM_PERMISSIONS

public static final java.lang.String KEY_PARAM_PERMISSIONS
See Also:
Constant Field Values

WPS_PARAM_PERMISSIONS

public static final java.lang.String WPS_PARAM_PERMISSIONS
See Also:
Constant Field Values

KEY_LOGIN_FAILURE

public static final java.lang.String KEY_LOGIN_FAILURE
See Also:
Constant Field Values

WPS_LOGIN_FAILURE

public static final java.lang.String WPS_LOGIN_FAILURE
See Also:
Constant Field Values

KEY_LOGIN_SUCCESS

public static final java.lang.String KEY_LOGIN_SUCCESS
See Also:
Constant Field Values

WPS_LOGIN_SUCCESS

public static final java.lang.String WPS_LOGIN_SUCCESS
See Also:
Constant Field Values

KEY_CONTENT_INFO

public static final java.lang.String KEY_CONTENT_INFO
See Also:
Constant Field Values

KEY_CONTENT_ERROR

public static final java.lang.String KEY_CONTENT_ERROR
See Also:
Constant Field Values

TRUE_VALUE

public static final java.lang.String TRUE_VALUE
See Also:
Constant Field Values

FALSE_VALUE

public static final java.lang.String FALSE_VALUE
See Also:
Constant Field Values

HEADER

public static final java.lang.String HEADER
See Also:
Constant Field Values
Method Detail

getInstance

public static Configuration getInstance()

getInitialInstance

public static Configuration getInitialInstance(java.lang.String ppath)
                                        throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException

getProperty

public java.lang.String getProperty(java.lang.String name)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.String value)

refresh

public void refresh()

getDebug

public boolean getDebug()

getSID

public java.lang.String getSID()

getPath

public java.lang.String getPath()

getURL

public java.lang.String getURL()

getParser

public java.lang.String getParser()

getEnableContentLog

public boolean getEnableContentLog()

getLogLocation

public java.lang.String getLogLocation()

getResetContentLog

public boolean getResetContentLog()

getWebapp

public java.lang.String getWebapp()

getLogin

public java.lang.String getLogin()

getLogout

public java.lang.String getLogout()

getUserSessionKey

public java.lang.String getUserSessionKey()

getDefaultUser

public java.lang.String getDefaultUser()

getParamUser

public java.lang.String getParamUser()

getParamPassword

public java.lang.String getParamPassword()

getParamPermissions

public java.lang.String getParamPermissions()

getLoginFailureString

public java.lang.String getLoginFailureString()

getLoginSuccessString

public java.lang.String getLoginSuccessString()

createProxyString

public static java.lang.String createProxyString(java.lang.String proxyHost,
                                                 java.lang.String neid,
                                                 java.lang.String resource,
                                                 java.lang.String relativePath)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.