org.objectweb.easybeans.component.itf
Interface TMComponent

All Superinterfaces:
EZBComponent
All Known Implementing Classes:
JOTMComponent

public interface TMComponent
extends EZBComponent

Defines the interface for a TM provider.

Author:
Florent Benoit

Field Summary
static java.lang.String JNDI_NAME
          JNDI name of the transaction manager.
 
Method Summary
 javax.transaction.TransactionManager getTransactionManager()
          Gets the transaction manager object.
 void setTimeout(int timeout)
          Set the Transaction Timeout.
 
Methods inherited from interface org.objectweb.easybeans.component.api.EZBComponent
init, start, stop
 

Field Detail

JNDI_NAME

static final java.lang.String JNDI_NAME
JNDI name of the transaction manager.

See Also:
Constant Field Values
Method Detail

getTransactionManager

javax.transaction.TransactionManager getTransactionManager()
Gets the transaction manager object.

Returns:
instance of the transaction manager

setTimeout

void setTimeout(int timeout)
Set the Transaction Timeout.

Parameters:
timeout - Timeout (in seconds)