|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jpox.ConnectionFactoryRegistry
public class ConnectionFactoryRegistry
Registry for connection factories for this ObjectManagerFactory. Will typically have entries for things like "jdbc/nontx", "jdbc/tx", etc
| Constructor Summary | |
|---|---|
ConnectionFactoryRegistry(OMFContext ctx)
Constructor. |
|
| Method Summary | |
|---|---|
ConnectionFactory |
lookupConnectionFactory(java.lang.String name)
Method to lookup a connection factory and create it if not yet existing. |
void |
registerConnectionFactory(java.lang.String name,
ConnectionFactory factory)
Method to register a connection factory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectionFactoryRegistry(OMFContext ctx)
ctx - OMFContext| Method Detail |
|---|
public ConnectionFactory lookupConnectionFactory(java.lang.String name)
name - The lookup name "e.g "jdbc/tx"
public void registerConnectionFactory(java.lang.String name,
ConnectionFactory factory)
name - The lookup name "e.g "jdbc/tx"factory - The connection factory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||