|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.blacktie.jatmibroker.jab.factory.JABConnection
public class JABConnection
The JAB connection abstraction allows invocations to services to several services to be multiplexed over the same connection. It also provides a factory method to begin transactions.
JABConnectionFactory| Method Summary | |
|---|---|
Transaction |
beginTransaction(int timeout)
Begin a new transaction. |
JABResponse |
call(String serviceName,
JABBuffer toSend,
Transaction transaction,
String bufferType,
String bufferSubType)
Invoke the service specified by the first parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Transaction beginTransaction(int timeout)
throws TransactionException
timeout - Specify a timeout for the transaction
JABException - In case the transaction cannot be created
TransactionException
public JABResponse call(String serviceName,
JABBuffer toSend,
Transaction transaction,
String bufferType,
String bufferSubType)
throws TransactionException,
JABException
serviceName - The name of the servicetoSend - The buffer to usetransaction - The transaction to use, may be null
TransactionException - In case the transaction cannot be handled
JABException - In case the service cannot be contacted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||