|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.easybeans.component.jotm.JOTMComponent
public class JOTMComponent
Creates and binds the transaction factory and usertransaction object.
Field Summary | |
---|---|
private static JLog |
logger
Logger. |
private javax.transaction.TransactionManager |
transactionManager
Transaction manager reference. |
Fields inherited from interface org.objectweb.easybeans.component.itf.TMComponent |
---|
JNDI_NAME |
Constructor Summary | |
---|---|
JOTMComponent()
|
Method Summary | |
---|---|
javax.transaction.TransactionManager |
getTransactionManager()
Gets the transaction manager object. |
void |
init()
Init method. This method is called before the start method. |
void |
start()
Start method. This method is called after the init method. |
void |
stop()
Stop method. This method is called when component needs to be stopped. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static JLog logger
private javax.transaction.TransactionManager transactionManager
Constructor Detail |
---|
public JOTMComponent()
Method Detail |
---|
public void init() throws EZBComponentException
init
in interface EZBComponent
EZBComponentException
- if the initialization has failed.public void start() throws EZBComponentException
start
in interface EZBComponent
EZBComponentException
- if the start has failed.public void stop() throws EZBComponentException
stop
in interface EZBComponent
EZBComponentException
- if the stop is failing.public javax.transaction.TransactionManager getTransactionManager()
getTransactionManager
in interface TMComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |