|
|||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
TransactionManagerLookup.java | - | - | - | - |
|
1 | package org.jboss.cache.transaction; | |
2 | ||
3 | import org.jboss.cache.Cache; | |
4 | import org.jboss.cache.config.Configuration; | |
5 | ||
6 | import javax.transaction.TransactionManager; | |
7 | ||
8 | /** | |
9 | * Factory interface, allows {@link Cache} to use different transactional systems. | |
10 | * Names of implementors of this class can be configured using | |
11 | * {@link Configuration#setTransactionManagerLookupClass}. | |
12 | * | |
13 | * @author Bela Ban, Aug 26 2003 | |
14 | * @version $Id: TransactionManagerLookup.java,v 1.2 2007/05/23 10:28:49 msurtani Exp $ | |
15 | */ | |
16 | public interface TransactionManagerLookup | |
17 | { | |
18 | ||
19 | /** | |
20 | * Returns a new TransactionManager. | |
21 | * | |
22 | * @throws Exception if lookup failed | |
23 | */ | |
24 | TransactionManager getTransactionManager() throws Exception; | |
25 | ||
26 | } |
|