Class JOnASTransactionManagerFactory

  extended by
      extended by
All Implemented Interfaces:

public class JOnASTransactionManagerFactory
extends AbstractTransactionManagerFactory

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

Constructor Detail


public JOnASTransactionManagerFactory()
Method Detail


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:


{{"JBoss", "java:/TransactionManager", null}};
In JBoss we lookup the TM via JNDI, so we don't need a TM factory class.

{{"Websphere 4", TM_DEFAULT_METHOD_NAME, ""},
{"Websphere 5", TM_DEFAULT_METHOD_NAME, ""},
{"Websphere >5", TM_DEFAULT_METHOD_NAME, ""}};
In Websphere we have to use a TM factory class and obtain the TM via a getTransactionManager() method call. The TM factory class is varied in different versions.

Specified by:
getLookupInfo in class AbstractTransactionManagerFactory
See Also:

(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
Version: 1.0.4, 2005-12-30