NextApp Echo3
v3.0.rc1

nextapp.echo.webcontainer
Class ClientConfiguration

java.lang.Object
  extended by nextapp.echo.webcontainer.ClientConfiguration
All Implemented Interfaces:
java.io.Serializable

public class ClientConfiguration
extends java.lang.Object
implements java.io.Serializable

Application-specific client configuration settings.

See Also:
Serialized Form

Field Summary
static java.lang.String NETWORK_ERROR_MESSAGE
          Property name constant for the alert message which should be displayed when a network error occurs.
static java.lang.String RESYNC_MESSAGE
          Property name constant for message to display when client must be resynchronized.
static java.lang.String SESSION_EXPIRATION_MESSAGE
          Property name constant for the alert message which should be displayed in the event the session expires.
static java.lang.String SESSION_EXPIRATION_RESTART
          Property name constant for boolean flag indicating whether application should automatically be restarted in the event session expires.
static java.lang.String SESSION_EXPIRATION_URI
          Property name constant for the URI which should be displayed in the event the session expires.
static java.lang.String STOP_ERROR_MESSAGE
          Property name constant for the alert message which should be displayed in the event that a stop error occurs.
static java.lang.String STOP_ERROR_URI
          Property name constant for the URI which should be displayed in the event that a stop error occurs.
static java.lang.String WAIT_INDICATOR_BACKGROUND
          Property name constant for wait indicator background.
static java.lang.String WAIT_INDICATOR_FOREGROUND
          Property name constant for wait indicator foreground.
static java.lang.String WAIT_INDICATOR_TEXT
          Property name constant for wait indicator text.
 
Constructor Summary
ClientConfiguration()
           
 
Method Summary
 java.lang.Object getProperty(java.lang.String name)
          Returns the value of the specified property.
 java.lang.String[] getPropertyNames()
          Returns the names of all set properties.
 void setProperty(java.lang.String name, java.lang.Object value)
          Sets a property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOP_ERROR_MESSAGE

public static final java.lang.String STOP_ERROR_MESSAGE
Property name constant for the alert message which should be displayed in the event that a stop error occurs.

See Also:
Constant Field Values

STOP_ERROR_URI

public static final java.lang.String STOP_ERROR_URI
Property name constant for the URI which should be displayed in the event that a stop error occurs. An alert message will not be shown if this value is set.

See Also:
Constant Field Values

SESSION_EXPIRATION_RESTART

public static final java.lang.String SESSION_EXPIRATION_RESTART
Property name constant for boolean flag indicating whether application should automatically be restarted in the event session expires. An alert message will not be shown if this value is set.

See Also:
Constant Field Values

NETWORK_ERROR_MESSAGE

public static final java.lang.String NETWORK_ERROR_MESSAGE
Property name constant for the alert message which should be displayed when a network error occurs.

See Also:
Constant Field Values

SESSION_EXPIRATION_MESSAGE

public static final java.lang.String SESSION_EXPIRATION_MESSAGE
Property name constant for the alert message which should be displayed in the event the session expires.

See Also:
Constant Field Values

SESSION_EXPIRATION_URI

public static final java.lang.String SESSION_EXPIRATION_URI
Property name constant for the URI which should be displayed in the event the session expires. An alert message will not be shown if this value is set.

See Also:
Constant Field Values

RESYNC_MESSAGE

public static final java.lang.String RESYNC_MESSAGE
Property name constant for message to display when client must be resynchronized.

See Also:
Constant Field Values

WAIT_INDICATOR_TEXT

public static final java.lang.String WAIT_INDICATOR_TEXT
Property name constant for wait indicator text.

See Also:
Constant Field Values

WAIT_INDICATOR_FOREGROUND

public static final java.lang.String WAIT_INDICATOR_FOREGROUND
Property name constant for wait indicator foreground. Must be a Color value.

See Also:
Constant Field Values

WAIT_INDICATOR_BACKGROUND

public static final java.lang.String WAIT_INDICATOR_BACKGROUND
Property name constant for wait indicator background. Must be a Color value.

See Also:
Constant Field Values
Constructor Detail

ClientConfiguration

public ClientConfiguration()
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.String name)
Returns the value of the specified property.

Parameters:
name - the name of the property
Returns:
the property value (or null if the property is not set)

getPropertyNames

public java.lang.String[] getPropertyNames()
Returns the names of all set properties.

Returns:
the property names

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Sets a property.

Parameters:
name - the property name
value - the property value

NextApp Echo3
v3.0.rc1