org.openejb.core
Class EnvProps

java.lang.Object
  extended by org.openejb.core.EnvProps

public class EnvProps
extends java.lang.Object

Class to encapsulate the configuration options available in the core implementation of the container system

Author:
Richard Monson-Haefel, Dan Massey, David Blevins

Field Summary
static java.lang.String GLOBAL_TX_DATABASE
          The Global_TX_Database for CMP beans
static java.lang.String IM_CLASS_NAME
          Property name that specifies the class name of the InstanceManager a Container should use.
static java.lang.String IM_CONCURRENT_ATTEMPTS
          Not yet used
static java.lang.String IM_PASSIVATE_SIZE
          Property name that specifies the number of instances to passivate at one time when doing bulk passivation.
static java.lang.String IM_PASSIVATOR
          Property name that specifies the class name of the PassivationStrategy an InstanceManager should use to passivate bean instances.
static java.lang.String IM_PASSIVATOR_PATH_PREFIX
          Property name that specifies the path prefix for directories created by bean passivation
static java.lang.String IM_POOL_SIZE
          Property name that specifies the size of the bean pools
static java.lang.String IM_STRICT_POOLING
          Property name that specifies the whether or not to use a strict pooling algorithm.
static java.lang.String IM_TIME_OUT
          Property name that specifies the time to wait between invocations.
static java.lang.String INTRA_VM_COPY
           
static java.lang.String JDBC_DRIVER
          The JdbcDriver string for a connector
static java.lang.String JDBC_URL
          The JdbcUrl string for a connector
static java.lang.String LOCAL_TX_DATABASE
          The Local_TX_Database for CMP beans
static java.lang.String PASSWORD
          The Password string for a connector
static java.lang.String THREAD_CONTEXT_IMPL
          By default the ThreadContext class uses its own class definition for instances but this can overriden by binding this variable to fully qualified class name of a type that subclasses ThreadContext.
static java.lang.String USER_NAME
          The UserName string for a connector
 
Constructor Summary
EnvProps()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IM_CLASS_NAME

public static final java.lang.String IM_CLASS_NAME
Property name that specifies the class name of the InstanceManager a Container should use.

NAME:
   org/openejb/core/InstanceManager/CLASS_NAME

EXAMPLE VALUE:
   org.openejb.core.entity.EntityInstanceManager

USED BY:

See Also:
Constant Field Values

IM_TIME_OUT

public static final java.lang.String IM_TIME_OUT
Property name that specifies the time to wait between invocations.

For the StatefulInstanceManager, this value is measured in minutes. A value of 5 would result in a time-out of 5 minutes between invocations.

For the StatelessInstanceManager, this value is measured in milliseconds. A value of 5 would result in a time-out of 5 milliseconds between invocations.

NAME:
   TimeOut

EXAMPLE VALUE:
   5

USED BY:

See Also:
Constant Field Values

IM_PASSIVATOR_PATH_PREFIX

public static final java.lang.String IM_PASSIVATOR_PATH_PREFIX
Property name that specifies the path prefix for directories created by bean passivation

NAME:
   org/openejb/core/InstanceManager/PASSIVATOR_PATH_PREFIX

EXAMPLE VALUE:
   /tmp/openejb

USED BY:

See Also:
Constant Field Values

IM_POOL_SIZE

public static final java.lang.String IM_POOL_SIZE
Property name that specifies the size of the bean pools

NAME:
   PoolSize

EXAMPLE VALUE:
   100

USED BY:

See Also:
Constant Field Values

IM_PASSIVATE_SIZE

public static final java.lang.String IM_PASSIVATE_SIZE
Property name that specifies the number of instances to passivate at one time when doing bulk passivation.

NAME:
   BulkPassivate

EXAMPLE VALUE:
   25

USED BY:

See Also:
Constant Field Values

IM_PASSIVATOR

public static final java.lang.String IM_PASSIVATOR
Property name that specifies the class name of the PassivationStrategy an InstanceManager should use to passivate bean instances.

NAME:
   org/openejb/core/InstanceManager/PASSIVATOR

EXAMPLE VALUE:
   org.openejb.core.stateful.RAFPassivater

USED BY:

See Also:
PassivationStrategy, RAFPassivater, SimplePassivater, Constant Field Values

IM_CONCURRENT_ATTEMPTS

public static final java.lang.String IM_CONCURRENT_ATTEMPTS
Not yet used

NAME:
   org/openejb/core/InstanceManager/CONCURRENT_ATTEMPTS

EXAMPLE VALUE:
  

USED BY:
Not yet used

See Also:
Constant Field Values

IM_STRICT_POOLING

public static final java.lang.String IM_STRICT_POOLING
Property name that specifies the whether or not to use a strict pooling algorithm.

NAME:
   StrictPooling

EXAMPLE VALUE:
   true

USED BY:

See Also:
Constant Field Values

THREAD_CONTEXT_IMPL

public static final java.lang.String THREAD_CONTEXT_IMPL
By default the ThreadContext class uses its own class definition for instances but this can overriden by binding this variable to fully qualified class name of a type that subclasses ThreadContext. The binding should be added to the System Properties.

See Also:
Constant Field Values

INTRA_VM_COPY

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

JDBC_DRIVER

public static final java.lang.String JDBC_DRIVER
The JdbcDriver string for a connector

See Also:
Constant Field Values

JDBC_URL

public static final java.lang.String JDBC_URL
The JdbcUrl string for a connector

See Also:
Constant Field Values

USER_NAME

public static final java.lang.String USER_NAME
The UserName string for a connector

See Also:
Constant Field Values

PASSWORD

public static final java.lang.String PASSWORD
The Password string for a connector

See Also:
Constant Field Values

GLOBAL_TX_DATABASE

public static final java.lang.String GLOBAL_TX_DATABASE
The Global_TX_Database for CMP beans

See Also:
Constant Field Values

LOCAL_TX_DATABASE

public static final java.lang.String LOCAL_TX_DATABASE
The Local_TX_Database for CMP beans

See Also:
Constant Field Values
Constructor Detail

EnvProps

public EnvProps()


Copyright © 1999-2011 OpenEJB. All Rights Reserved.