com.atomikos.icatch.config
Interface TSInitInfo

All Known Implementing Classes:
TSInitInfoImp

public interface TSInitInfo

Copyright © 2001-2004, Atomikos. All rights reserved. Initializer information for the UserTransactionService. Instances can be passed to a UserTransactionService during initialization.


Field Summary
static String AUTOMATIC_RESOURCE_REGISTRATION_PROPERTY_NAME
          The name of the property indicating whether (JTA/XA) resources should be registered automatically or not.
static String CHECKPOINT_INTERVAL_PROPERTY_NAME
          The name of the property indicating the checkpoint interval.
static String CLIENT_DEMARCATION_PROPERTY_NAME
          The name of the property indicating whether remote clients can start transactions on this service or not.
static String CONSOLE_FILE_COUNT_PROPERTY_NAME
          The name of the property indicating the number of rotating console log files.
static String CONSOLE_FILE_LIMIT_PROPERTY_NAME
          The name of the property indicating the max size in bytes of the console log files.
static String CONSOLE_FILE_NAME_PROPERTY_NAME
          The name of the property that specifies the filename to use for console log files.
static String CONSOLE_LOG_LEVEL_PROPERTY_NAME
          The name of the property that specifies the console log level.
static String ENABLE_LOGGING_PROPERTY_NAME
          The name of the property indicating whether or not to enable logging.
static String JNDI_INITIAL_CONTEXT_FACTORY_PROPERTY_NAME
          The name of the property indicating what the JNDI initial context factory is.
static String JNDI_PROVIDER_URL_PROPERTY_NAME
          The name of the property indicating what the JNDI provider URL is.
static String LOG_BASE_DIR_PROPERTY_NAME
          The name of the property that specifies the log base dir folder.
static String LOG_BASE_NAME_PROPERTY_NAME
          The name of the property that indicates the base name of the log files.
static String MAX_ACTIVES_PROPERTY_NAME
          The name of the property that specifies the maximum number of active transactions.
static String MAX_TIMEOUT_PROPERTY_NAME
          The name of the property that specifies the maximum timeout (in milliseconds) that can be allowed for transactions.
static String OUTPUT_DIR_PROPERTY_NAME
          The name of the property that specifies the output folder for the transaction manager's files.
static String RMI_EXPORT_CLASS_PROPERTY_NAME
          The name of the property indicating what RMI export mechanism to use for exporting transaction service objects (if applicable).
static String SERIAL_JTA_TRANSACTIONS_PROPERTY_NAME
          The name of the property that indicates whether JTA transactions are to be in serial mode or not.
static String SOAP_COMMIT_PROTOCOLS_PROPERTY_NAME
          The name of the property indicating what SOAP commit protocols to enable.
static String SOAP_HOST_ADDRESS_PROPERTY_NAME
          The name of the property indicating the SOAP host address where this transaction manager is listening.
static String SOAP_PORT_PROPERTY_NAME
          The name of the property indicating what TCP port the SOAP service is listening one.
static String SOAP_REQUEST_THREADS_PROPERTY_NAME
          The name of the property indicating the number of SOAP request threads (for processing incoming SOAP 2PC requests).
static String THREADED_2PC_PROPERTY_NAME
          The name of the property specifying whether two-phase commit should be done concurrently with threads.
static String TM_UNIQUE_NAME_PROPERTY_NAME
          The name of the property indicating the globally unique name of the transaction manager.
static String TRUST_CLIENT_TM_PROPERTY_NAME
          The name of the property that specifies whether or not a client transaction manager can be trusted to terminate heuristic problems.
 
Method Summary
 Enumeration getLogAdministrators()
          Deprecated. Do this through the UserTransactionService instead.
 Properties getProperties()
          Get the configuration properties for the transaction service.
 String getProperty(String name)
          Get the value of the given property.
 Enumeration getResources()
          Deprecated. Do this through the UserTransactionService instead.
 void registerLogAdministrator(LogAdministrator admin)
          Deprecated. Do this through the UserTransactionService instead.
 void registerResource(RecoverableResource resource)
          Deprecated. Do this through the UserTransactionService instead.
 void setProperties(Properties properties)
          Sets the properties that the transaction service should use.
 void setProperty(String name, String value)
          Set the initialization property with the given name
 

Field Detail

TRUST_CLIENT_TM_PROPERTY_NAME

static final String TRUST_CLIENT_TM_PROPERTY_NAME
The name of the property that specifies whether or not a client transaction manager can be trusted to terminate heuristic problems.

See Also:
Constant Field Values

CONSOLE_FILE_NAME_PROPERTY_NAME

static final String CONSOLE_FILE_NAME_PROPERTY_NAME
The name of the property that specifies the filename to use for console log files.

See Also:
Constant Field Values

OUTPUT_DIR_PROPERTY_NAME

static final String OUTPUT_DIR_PROPERTY_NAME
The name of the property that specifies the output folder for the transaction manager's files.

See Also:
Constant Field Values

LOG_BASE_DIR_PROPERTY_NAME

static final String LOG_BASE_DIR_PROPERTY_NAME
The name of the property that specifies the log base dir folder.

See Also:
Constant Field Values

CONSOLE_LOG_LEVEL_PROPERTY_NAME

static final String CONSOLE_LOG_LEVEL_PROPERTY_NAME
The name of the property that specifies the console log level. Should be one of: WARN, INFO or DEBUG.

See Also:
Constant Field Values

SERIAL_JTA_TRANSACTIONS_PROPERTY_NAME

static final String SERIAL_JTA_TRANSACTIONS_PROPERTY_NAME
The name of the property that indicates whether JTA transactions are to be in serial mode or not.

See Also:
Constant Field Values

LOG_BASE_NAME_PROPERTY_NAME

static final String LOG_BASE_NAME_PROPERTY_NAME
The name of the property that indicates the base name of the log files.

See Also:
Constant Field Values

MAX_ACTIVES_PROPERTY_NAME

static final String MAX_ACTIVES_PROPERTY_NAME
The name of the property that specifies the maximum number of active transactions.

See Also:
Constant Field Values

MAX_TIMEOUT_PROPERTY_NAME

static final String MAX_TIMEOUT_PROPERTY_NAME
The name of the property that specifies the maximum timeout (in milliseconds) that can be allowed for transactions.

See Also:
Constant Field Values

TM_UNIQUE_NAME_PROPERTY_NAME

static final String TM_UNIQUE_NAME_PROPERTY_NAME
The name of the property indicating the globally unique name of the transaction manager.

See Also:
Constant Field Values

CHECKPOINT_INTERVAL_PROPERTY_NAME

static final String CHECKPOINT_INTERVAL_PROPERTY_NAME
The name of the property indicating the checkpoint interval.

See Also:
Constant Field Values

CLIENT_DEMARCATION_PROPERTY_NAME

static final String CLIENT_DEMARCATION_PROPERTY_NAME
The name of the property indicating whether remote clients can start transactions on this service or not.

See Also:
Constant Field Values

RMI_EXPORT_CLASS_PROPERTY_NAME

static final String RMI_EXPORT_CLASS_PROPERTY_NAME
The name of the property indicating what RMI export mechanism to use for exporting transaction service objects (if applicable).

See Also:
Constant Field Values

JNDI_INITIAL_CONTEXT_FACTORY_PROPERTY_NAME

static final String JNDI_INITIAL_CONTEXT_FACTORY_PROPERTY_NAME
The name of the property indicating what the JNDI initial context factory is.

See Also:
Constant Field Values

JNDI_PROVIDER_URL_PROPERTY_NAME

static final String JNDI_PROVIDER_URL_PROPERTY_NAME
The name of the property indicating what the JNDI provider URL is.

See Also:
Constant Field Values

AUTOMATIC_RESOURCE_REGISTRATION_PROPERTY_NAME

static final String AUTOMATIC_RESOURCE_REGISTRATION_PROPERTY_NAME
The name of the property indicating whether (JTA/XA) resources should be registered automatically or not.

See Also:
Constant Field Values

ENABLE_LOGGING_PROPERTY_NAME

static final String ENABLE_LOGGING_PROPERTY_NAME
The name of the property indicating whether or not to enable logging.

See Also:
Constant Field Values

CONSOLE_FILE_LIMIT_PROPERTY_NAME

static final String CONSOLE_FILE_LIMIT_PROPERTY_NAME
The name of the property indicating the max size in bytes of the console log files. Negative means unlimited.

See Also:
Constant Field Values

CONSOLE_FILE_COUNT_PROPERTY_NAME

static final String CONSOLE_FILE_COUNT_PROPERTY_NAME
The name of the property indicating the number of rotating console log files.

See Also:
Constant Field Values

SOAP_COMMIT_PROTOCOLS_PROPERTY_NAME

static final String SOAP_COMMIT_PROTOCOLS_PROPERTY_NAME
The name of the property indicating what SOAP commit protocols to enable.

See Also:
Constant Field Values

SOAP_REQUEST_THREADS_PROPERTY_NAME

static final String SOAP_REQUEST_THREADS_PROPERTY_NAME
The name of the property indicating the number of SOAP request threads (for processing incoming SOAP 2PC requests).

See Also:
Constant Field Values

SOAP_HOST_ADDRESS_PROPERTY_NAME

static final String SOAP_HOST_ADDRESS_PROPERTY_NAME
The name of the property indicating the SOAP host address where this transaction manager is listening.

See Also:
Constant Field Values

SOAP_PORT_PROPERTY_NAME

static final String SOAP_PORT_PROPERTY_NAME
The name of the property indicating what TCP port the SOAP service is listening one.

See Also:
Constant Field Values

THREADED_2PC_PROPERTY_NAME

static final String THREADED_2PC_PROPERTY_NAME
The name of the property specifying whether two-phase commit should be done concurrently with threads.

See Also:
Constant Field Values
Method Detail

registerLogAdministrator

void registerLogAdministrator(LogAdministrator admin)
Deprecated. Do this through the UserTransactionService instead.

Register a LogAdministrator instance for administration. This allows inspection of active transactions and manual intervention. Care should be taken if multiple instances are registered: the responsibility of taking conflicting manual decisions is entirely with the user!

Parameters:
admin - The instance.

registerResource

void registerResource(RecoverableResource resource)
Deprecated. Do this through the UserTransactionService instead.

Add a resource. The purpose of registering resources is mainly to be able to enable recovery of these resources. This is needed for those ResourceTransaction instances that do not encapsulate the full state themselves, such as in the XAResource case.

Parameters:
resource - The resource to add.

getResources

Enumeration getResources()
Deprecated. Do this through the UserTransactionService instead.

Get the resources registered.

Returns:
Enumeration The resources, or empty if none.

getLogAdministrators

Enumeration getLogAdministrators()
Deprecated. Do this through the UserTransactionService instead.

Get the log administrators.

Returns:
Enumeration The registered administrators.

setProperties

void setProperties(Properties properties)
Sets the properties that the transaction service should use.

Parameters:
properties - The properties. These values will override any properties found in the server configuration file.

getProperties

Properties getProperties()
Get the configuration properties for the transaction service.

Returns:
Properties The configuration properties. Initially, these will include any properties read from the server configuration file.

setProperty

void setProperty(String name,
                 String value)
Set the initialization property with the given name

Parameters:
name - The name of the property.
value - The value.

getProperty

String getProperty(String name)
Get the value of the given property.

Parameters:
name - The name of the property.
Returns:
String The property value, or null if not defined.