org.openejb.core
Class EnvProps

java.lang.Object
  |
  +--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


Field Summary
static java.lang.String CB_CLASS_NAME
          Property name that specifies the class name of the ConnectionBuilder a JmsContainer should use.
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 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.
 
Constructor Summary
EnvProps()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CB_CLASS_NAME

public static final java.lang.String CB_CLASS_NAME
Property name that specifies the class name of the ConnectionBuilder a JmsContainer should use.

NAME:
   org/openejb/core/jms/JmsConnectionBuilder

EXAMPLE VALUE:
   org.example.asf.ReplacementConnectionBuilder

USED BY:


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:


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:


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:


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:


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:


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

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


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:


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.

INTRA_VM_COPY

public static final java.lang.String INTRA_VM_COPY
Constructor Detail

EnvProps

public EnvProps()