|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jts.CosTransactions.DefaultTransactionService
public class DefaultTransactionService
The DefaultTransactionService is our implemention of the com.sun.CosTransactions.TransactionService class.
The TransactionService abstract class describes the packaging of a Java Transaction Service implementation. Each implementation should be packaged as a subclass of the TransactionService class.
| Field Summary | |
|---|---|
static java.lang.String |
JTS_SERVER_ID
|
static java.lang.String |
JTS_XA_SERVER_NAME
|
| Constructor Summary | |
|---|---|
DefaultTransactionService()
Default constructor. |
|
| Method Summary | |
|---|---|
org.omg.CosTransactions.Current |
get_current()
Obtain the implementation of the Current interface provided by the transaction service implementation. |
void |
identify_ORB(org.omg.CORBA.ORB orb,
org.omg.CORBA.TSIdentification ident,
java.util.Properties properties)
Request the transaction service to identify itself with a communication manager. |
static boolean |
isActive()
|
static boolean |
isORBAvailable()
|
boolean |
isProxy(org.omg.CORBA.Object obj)
Determines whether the given object is a proxy. |
static void |
setServerName(java.util.Properties properties)
|
static void |
shutdown(boolean immediate)
Request the transaction service to stop any further transactional activity. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String JTS_SERVER_ID
public static final java.lang.String JTS_XA_SERVER_NAME
| Constructor Detail |
|---|
public DefaultTransactionService()
- | Method Detail |
|---|
public static boolean isActive()
public org.omg.CosTransactions.Current get_current()
get_current in interface com.sun.corba.ee.spi.costransactions.TransactionService -
public void identify_ORB(org.omg.CORBA.ORB orb,
org.omg.CORBA.TSIdentification ident,
java.util.Properties properties)
Multiple communication managers may request a transaction service to identify itself.
identify_ORB in interface com.sun.corba.ee.spi.costransactions.TransactionServiceorb - The ORB to be used for communication.ident - The TSIdentification object with which the Sender and
Receiver must be registered.properties - The Properties with which the ORB was initialised.public static void setServerName(java.util.Properties properties)
public static void shutdown(boolean immediate)
immediate - Indicates whether to ignore running transactions.public final boolean isProxy(org.omg.CORBA.Object obj)
obj - The potential proxy.
public static boolean isORBAvailable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||