net.sf.xbus.base.core
Interface TAResource

All Known Implementing Classes:
AS400ByteArrayListReceiver, AS400ByteArrayListSender, AS400FileReceiver, AS400FileSender, AS400LineReaderReceiver, DBConnection, FileByteArrayListReceiver, FileByteArrayListSender, FileLineReaderReceiver, FileLineWriterSender, FileReceiver, FileSender, FileStreamReceiver, FileStreamSender, FTPReceiver, FTPSender, LDAPConnection, MQConnection, POP3Receiver, POP3XMLReceiver

public interface TAResource

TAResource is the interface for all classes, that should be managed by a TAManager.


Method Summary
 void close()
          Closes a resource.
 void commit()
          Performs a commit on the resource.
 void open()
          Opens a resource.
 void rollback()
          Performs a rollback on the resource.
 

Method Detail

open

void open()
          throws XException
Opens a resource.

Throws:
XException - if something goes wrong

commit

void commit()
            throws XException
Performs a commit on the resource.

Throws:
XException - if something goes wrong

rollback

void rollback()
              throws XException
Performs a rollback on the resource.

Throws:
XException - if something goes wrong

close

void close()
           throws XException
Closes a resource.

Throws:
XException - if something goes wrong