|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserTransactionService
The user's (client program) view of the transaction manager's configuration, with all the information the client program needs.
Method Summary | |
---|---|
TSInitInfo |
createTSInitInfo()
Deprecated. Use the properties-based init method instead. |
CompositeTransactionManager |
getCompositeTransactionManager()
Get the composite transaction manager for the config. |
ExportingTransactionManager |
getExportingTransactionManager()
Get the ExportingTransactionManager instance |
ImportingTransactionManager |
getImportingTransactionManager()
Get the ImportingTransactionManager instance. |
Enumeration |
getLogAdministrators()
Get the log administrators. |
Enumeration |
getResources()
Get the resources registered. |
TransactionManager |
getTransactionManager()
Deprecated. Use the UserTransactionManager and J2eeTransactionManager classes instead. |
TSMetaData |
getTSMetaData()
Deprecated. |
UserTransaction |
getUserTransaction()
Deprecated. Use the classes in package com.atomikos.icatch.jta instead. |
void |
init(Properties properties)
|
void |
init(TSInitInfo info)
Deprecated. Use the property-based init method instead. |
void |
registerLogAdministrator(LogAdministrator admin)
Register a LogAdministrator instance for administration. |
void |
registerResource(RecoverableResource res)
Register a new resource for recovery. |
void |
registerTSListener(TSListener listener)
Registers a listener with the transaction service. |
void |
removeLogAdministrator(LogAdministrator admin)
Removes the given log administrator. |
void |
removeResource(RecoverableResource res)
Removes the given resource. |
void |
removeTSListener(TSListener listener)
Removes a listener from the transaction service. |
void |
shutdown(boolean force)
Shuts down the TM. |
Method Detail |
---|
TransactionManager getTransactionManager()
UserTransaction getUserTransaction()
ImportingTransactionManager getImportingTransactionManager()
ExportingTransactionManager getExportingTransactionManager()
TSMetaData getTSMetaData()
TSInitInfo createTSInitInfo()
void shutdown(boolean force) throws IllegalStateException
force
- If true, then shutdown will succeed even if
some transactions are still active. If false, then the calling thread
will block until any active transactions are terminated. A heuristic
transaction is also considered to be active.
IllegalStateException
void registerResource(RecoverableResource res)
res
- The resource to be added.void removeResource(RecoverableResource res)
The
- resource to remove.
If the resource is not found then this method does
nothing.void registerLogAdministrator(LogAdministrator admin)
admin
- The instance.void removeLogAdministrator(LogAdministrator admin)
admin
- void registerTSListener(TSListener listener)
listener
- void removeTSListener(TSListener listener)
listener
- void init(TSInitInfo info) throws SysException
info
- The TSInitInfo with details for initialization.
SysException
void init(Properties properties) throws SysException
SysException
Enumeration getResources()
Enumeration getLogAdministrators()
CompositeTransactionManager getCompositeTransactionManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |