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:
- info[i][0] = short description of used TM, e.g. appServer name
- info[i][2] = JNDI name to lookup TM or the method name to retrieve TM instance
- info[i][3] = if 'null' an JNDI lookup was made with JNDI name set above, if not null
the class name of the TM factory was assumed and the method name set above will be invoked
Example:
{{"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, "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"}};
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:
AbstractTransactionManagerFactory.getLookupInfo()