org.apache.ojb.broker.transaction.tm
Class SunOneTransactionManagerFactory

java.lang.Object
  extended byorg.apache.ojb.broker.transaction.tm.AbstractTransactionManagerFactory
      extended byorg.apache.ojb.broker.transaction.tm.SunOneTransactionManagerFactory
All Implemented Interfaces:
TransactionManagerFactory

public class SunOneTransactionManagerFactory
extends AbstractTransactionManagerFactory

SunOne TransactionManager lookup.

Version:
$Id: SunOneTransactionManagerFactory.java,v 1.1 2004/05/03 23:05:56 arminw Exp $
Author:
Rice Yeh

Field Summary
 
Fields inherited from class org.apache.ojb.broker.transaction.tm.AbstractTransactionManagerFactory
TM_DEFAULT_METHOD_NAME
 
Constructor Summary
SunOneTransactionManagerFactory()
           
 
Method Summary
 java.lang.String[][] getLookupInfo()
          Returns an array of possible JNDI lookup / class names for the TransactionManager instance.
 
Methods inherited from class org.apache.ojb.broker.transaction.tm.AbstractTransactionManagerFactory
getTransactionManager
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SunOneTransactionManagerFactory

public SunOneTransactionManagerFactory()
Method Detail

getLookupInfo

public java.lang.String[][] getLookupInfo()
Description copied from class: AbstractTransactionManagerFactory
Returns an array of possible JNDI lookup / class names for the TransactionManager instance. An array was used because for different application server versions the JNDI/class name may change.

Expect an [n][3] string array. Following arguments are available:

Example:
{{"JBoss", "java:/TransactionManager", null}};
{{"Websphere 4", TM_DEFAULT_METHOD_NAME, "com.ibm.ejs.jts.jta.JTSXA"}, {"Websphere 5", TM_DEFAULT_METHOD_NAME, "com.ibm.ejs.jts.jta.TransactionManagerFactory"}, {"Websphere >5", TM_DEFAULT_METHOD_NAME, "com.ibm.ws.Transaction.TransactionManagerFactory"}};

Specified by:
getLookupInfo in class AbstractTransactionManagerFactory
See Also:
AbstractTransactionManagerFactory.getLookupInfo()


(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.0, 2004-06-25