org.objectweb.carol.util.configuration
Class CarolDefaultValues

java.lang.Object
  extended byorg.objectweb.carol.util.configuration.CarolDefaultValues

public class CarolDefaultValues
extends java.lang.Object

Class DefaultCarolValues get default carol value for the properties file and get carol properties with defaults from jndi Standard properties


Field Summary
static java.lang.String CAROL_CONFIGURATION_FILE
          Carol configuration file
static java.lang.String CAROL_DEFAULT_CONFIGURATION_FILE
          Carol default configuration file
static java.lang.String CAROL_PREFIX
          Carol prefix
static java.lang.String DEFAULT_HOST
          Default hostname
static java.lang.String DEFAULT_PROTOCOLS_KEY
          default activation key
static int DEFAULT_SSL_PORT
          Default ssl port value
static java.lang.String FACTORY_PREFIX
          carol factory Prefix
static java.lang.String INTERCEPTOR_PKGS_PREFIX
          interceptor prefix
static java.lang.String INTERCEPTOR_VALUES_PREFIX
          interceptor prefix
static java.lang.String JNDI_PREFIX
          JNDI Prefix
static java.lang.String JVM_PREFIX
          JVM Prefix
static java.lang.String LOCAL_JRMP_PROPERTY
          carol jrmp local call optimization
static java.lang.String LOCALREG_JRMP_PROPERTY
          carol jrmp registry local flag
static java.lang.String MULTI_JNDI
          start jndi key
static java.lang.String MULTI_PROD
          start prod key
static java.lang.String MULTI_RMI_PREFIX
          start ns key
static java.lang.String NS_PREFIX
          name service class prefix
static java.lang.String PRO_PREFIX
          portable remote object Prefix
static java.lang.String PROTOCOLS_KEY
          acativation key
static java.lang.String SERVER_IIOP_PORT
          Port number to use in server mode case (iiop)
static java.lang.String SERVER_IRMI_PORT
          Port number to use in server mode case (irmi)
static java.lang.String SERVER_IRMI_SINGLE_ITF
          Use a single interface for creating the registry in server mode case (irmi)
static java.lang.String SERVER_JEREMIE_PORT
          Port number to use in server mode case (jeremie)
static java.lang.String SERVER_JRMP_PORT
          Port number to use in server mode case (jrmp)
static java.lang.String SERVER_JRMP_SINGLE_ITF
          Use a single interface for creating the registry in server mode case (jrmp)
static java.lang.String SERVER_MODE
          Server mode property (if true, this means that carol is running in a server which export objects)
static java.lang.String SERVER_SSL_IIOP_PORT
          Ssl Port number to use in server mode case (iiop)
static java.lang.String SETTER_CLASS
          Setter class property name (specifies the protocol class used to set the properties in this protocol)
static java.lang.String SETTER_METHOD_MBEAN
          Setter method MBean property name (specifies the method of the class given by the SETTER_CLASS_PROPERTIES used to set the properties in this protocol)
static java.lang.String SETTER_METHOD_PROPERTIES
          Setter method properties property name (specifies the method of the class given by the SETTER_CLASS_PROPERTIES used to set the properties in this protocol)
static java.lang.String START_JNDI_KEY
          start jndi key
static java.lang.String START_NS_KEY
          start ns key
static java.lang.String START_NS_PREFIX
          start name service Prefix
static java.lang.String START_RMI_KEY
          start rmi key
static java.lang.String URL_PREFIX
          carol url Prefix
 
Method Summary
static java.lang.String getRMIProtocol(java.lang.String url)
          return protocol name from url
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CAROL_DEFAULT_CONFIGURATION_FILE

public static final java.lang.String CAROL_DEFAULT_CONFIGURATION_FILE
Carol default configuration file

See Also:
Constant Field Values

CAROL_CONFIGURATION_FILE

public static final java.lang.String CAROL_CONFIGURATION_FILE
Carol configuration file

See Also:
Constant Field Values

CAROL_PREFIX

public static final java.lang.String CAROL_PREFIX
Carol prefix

See Also:
Constant Field Values

SERVER_MODE

public static final java.lang.String SERVER_MODE
Server mode property (if true, this means that carol is running in a server which export objects)

See Also:
Constant Field Values

SETTER_CLASS

public static final java.lang.String SETTER_CLASS
Setter class property name (specifies the protocol class used to set the properties in this protocol)

See Also:
Constant Field Values

SETTER_METHOD_PROPERTIES

public static final java.lang.String SETTER_METHOD_PROPERTIES
Setter method properties property name (specifies the method of the class given by the SETTER_CLASS_PROPERTIES used to set the properties in this protocol)

See Also:
Constant Field Values

SETTER_METHOD_MBEAN

public static final java.lang.String SETTER_METHOD_MBEAN
Setter method MBean property name (specifies the method of the class given by the SETTER_CLASS_PROPERTIES used to set the properties in this protocol)

See Also:
Constant Field Values

SERVER_IIOP_PORT

public static final java.lang.String SERVER_IIOP_PORT
Port number to use in server mode case (iiop)

See Also:
Constant Field Values

SERVER_IRMI_PORT

public static final java.lang.String SERVER_IRMI_PORT
Port number to use in server mode case (irmi)

See Also:
Constant Field Values

SERVER_IRMI_SINGLE_ITF

public static final java.lang.String SERVER_IRMI_SINGLE_ITF
Use a single interface for creating the registry in server mode case (irmi)

See Also:
Constant Field Values

SERVER_JRMP_PORT

public static final java.lang.String SERVER_JRMP_PORT
Port number to use in server mode case (jrmp)

See Also:
Constant Field Values

SERVER_JRMP_SINGLE_ITF

public static final java.lang.String SERVER_JRMP_SINGLE_ITF
Use a single interface for creating the registry in server mode case (jrmp)

See Also:
Constant Field Values

SERVER_JEREMIE_PORT

public static final java.lang.String SERVER_JEREMIE_PORT
Port number to use in server mode case (jeremie)

See Also:
Constant Field Values

SERVER_SSL_IIOP_PORT

public static final java.lang.String SERVER_SSL_IIOP_PORT
Ssl Port number to use in server mode case (iiop)

See Also:
Constant Field Values

DEFAULT_SSL_PORT

public static final int DEFAULT_SSL_PORT
Default ssl port value

See Also:
Constant Field Values

DEFAULT_HOST

public static final java.lang.String DEFAULT_HOST
Default hostname

See Also:
Constant Field Values

JNDI_PREFIX

public static final java.lang.String JNDI_PREFIX
JNDI Prefix

See Also:
Constant Field Values

JVM_PREFIX

public static final java.lang.String JVM_PREFIX
JVM Prefix

See Also:
Constant Field Values

NS_PREFIX

public static final java.lang.String NS_PREFIX
name service class prefix

See Also:
Constant Field Values

PRO_PREFIX

public static final java.lang.String PRO_PREFIX
portable remote object Prefix

See Also:
Constant Field Values

URL_PREFIX

public static final java.lang.String URL_PREFIX
carol url Prefix

See Also:
Constant Field Values

LOCAL_JRMP_PROPERTY

public static final java.lang.String LOCAL_JRMP_PROPERTY
carol jrmp local call optimization

See Also:
Constant Field Values

LOCALREG_JRMP_PROPERTY

public static final java.lang.String LOCALREG_JRMP_PROPERTY
carol jrmp registry local flag

See Also:
Constant Field Values

FACTORY_PREFIX

public static final java.lang.String FACTORY_PREFIX
carol factory Prefix

See Also:
Constant Field Values

START_NS_PREFIX

public static final java.lang.String START_NS_PREFIX
start name service Prefix

See Also:
Constant Field Values

START_NS_KEY

public static final java.lang.String START_NS_KEY
start ns key

See Also:
Constant Field Values

START_RMI_KEY

public static final java.lang.String START_RMI_KEY
start rmi key

See Also:
Constant Field Values

START_JNDI_KEY

public static final java.lang.String START_JNDI_KEY
start jndi key

See Also:
Constant Field Values

DEFAULT_PROTOCOLS_KEY

public static final java.lang.String DEFAULT_PROTOCOLS_KEY
default activation key

See Also:
Constant Field Values

PROTOCOLS_KEY

public static final java.lang.String PROTOCOLS_KEY
acativation key

See Also:
Constant Field Values

MULTI_RMI_PREFIX

public static final java.lang.String MULTI_RMI_PREFIX
start ns key

See Also:
Constant Field Values

MULTI_PROD

public static final java.lang.String MULTI_PROD
start prod key

See Also:
Constant Field Values

MULTI_JNDI

public static final java.lang.String MULTI_JNDI
start jndi key

See Also:
Constant Field Values

INTERCEPTOR_PKGS_PREFIX

public static final java.lang.String INTERCEPTOR_PKGS_PREFIX
interceptor prefix

See Also:
Constant Field Values

INTERCEPTOR_VALUES_PREFIX

public static final java.lang.String INTERCEPTOR_VALUES_PREFIX
interceptor prefix

See Also:
Constant Field Values
Method Detail

getRMIProtocol

public static java.lang.String getRMIProtocol(java.lang.String url)
return protocol name from url

Parameters:
url - protocol jndi url
Returns:
protocol name