|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.platform.config.spi.xml.XMLConfigurationConnectorFactory
public class XMLConfigurationConnectorFactory
| Constructor Summary | |
|---|---|
XMLConfigurationConnectorFactory()
|
|
| Method Summary | |
|---|---|
ManagedConnection |
createConnection(java.util.Properties env,
java.lang.String userName)
Create a new instance of a metadata connection. |
TransactionInterface |
createTransaction(ManagedConnection connection,
boolean readonly)
Create a new instance of a transaction for a managed connection. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLConfigurationConnectorFactory()
| Method Detail |
|---|
public ManagedConnection createConnection(java.util.Properties env,
java.lang.String userName)
throws ManagedConnectionException
createConnection in interface TransactionFactoryenv - the environment properties for the new connection.userName - is the name of the one creating the connection
ManagedConnectionException - if there is an error creating the connection.
public TransactionInterface createTransaction(ManagedConnection connection,
boolean readonly)
throws ManagedConnectionException
createTransaction in interface TransactionFactoryconnection - the connection that should be used and that was created using this
factory's createConnection method (thus the transaction subclass may cast to the
type created by the createConnection method.readonly - true if the transaction is to be readonly, or false otherwise
ManagedConnectionException - if there is an error creating the transaction.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||