Searched defs:getConnection (Results 1 - 25 of 32) sorted by relevance

12

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/cci/
H A DConnectionFactory.java70 /** Gets a connection to an EIS instance. This getConnection variant
93 Connection getConnection() throws ResourceException; method in interface:ConnectionFactory
96 * the getConnection variant with javax.resource.cci.ConnectionSpec
104 * the getConnection method should be client-specific (example:
134 Connection getConnection(ConnectionSpec properties) method in interface:ConnectionFactory
H A DInteraction.java94 Connection getConnection(); method in interface:Interaction
/glassfish-3.1.2/common/glassfish-api/src/main/java/com/sun/appserv/jdbc/
H A DDataSource.java56 Connection con = ds.getConnection();
57 Connection drivercon = ds.getConnection(con);
73 * @param con Connection obtained from <code>Datasource.getConnection()</code>
77 public Connection getConnection(Connection con) throws SQLException; method in interface:DataSource
115 Connection con = ds.getConnection();
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc30/src/main/java/com/sun/gjc/spi/jdbc30/
H A DJdbc30ObjectsFactory.java64 public ConnectionHolder getConnection(Connection conObject, method in class:Jdbc30ObjectsFactory
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/
H A DTransaction.java48 Connection getConnection(); method in interface:Transaction
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DManagedConnection.java102 Object getConnection(Subject subject, method in interface:ManagedConnection
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/ejb/
H A DDeploymentHelper.java148 public static Connection getConnection(String name) throws SQLException { method in class:DeploymentHelper
165 return ds.getConnection();
H A DTransactionHelper.java175 java.sql.Connection getConnection(Object resource, String username, String password) method in interface:TransactionHelper
H A DTransactionHelperImpl.java210 public java.sql.Connection getConnection(Object resource, String username, method in class:TransactionHelperImpl
216 rc = ds.getConnection();
218 rc = ds.getConnection(username, password);
H A DEJBHelper.java199 public static java.sql.Connection getConnection(Object resource, method in class:EJBHelper
201 return myHelper.getConnection(resource, username, password);
395 public java.sql.Connection getConnection(Object resource, method in class:EJBHelper.DefaultTransactionHelper
398 messages, "ejb.ejbhelper.nonmanaged", "getConnection")); //NOI18N
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DJdbcObjectsFactory.java110 public abstract ConnectionHolder getConnection(Connection conObject, method in class:JdbcObjectsFactory
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/
H A DJdbc40ObjectsFactory.java74 public ConnectionHolder getConnection(Connection conObject, method in class:Jdbc40ObjectsFactory
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/connection/
H A DConnectionManager.java86 public HttpURLConnection getConnection(String contextRoot) throws IOException { method in class:ConnectionManager
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/
H A DConnectorResourceAdminServiceImpl.java278 public Connection getConnection() throws SQLException { method in class:ConnectorResourceAdminServiceImpl.MyDataSource
279 return ConnectorRuntime.getRuntime().getConnection(resourceInfo);
282 public Connection getConnection(String username, String password) throws SQLException { method in class:ConnectorResourceAdminServiceImpl.MyDataSource
283 return ConnectorRuntime.getRuntime().getConnection(resourceInfo, username, password);
H A DConnectorConnectionPoolAdminServiceImpl.java414 * 7. getConnection from the ManagedConnection with above subject<br>
603 * 8. getConnection from the ManagedConnection with above subject<br>
716 return returnConnectionHandle ? mc.getConnection(defaultSubject, null) : mc;
1524 public Connection getConnection(ResourceInfo resourceInfo, String user, String password) method in class:ConnectorConnectionPoolAdminServiceImpl
1531 _logger.fine("ConnectorRuntime.getConnection :: poolName : " + poolInfo);
1556 _logger.fine(" getConnection in ConnectorRuntime failed : " + re);
1564 _logger.fine(" getConnection in ConnectorRuntime failed : " + ex);
1597 public Connection getConnection(ResourceInfo resourceInfo) method in class:ConnectorConnectionPoolAdminServiceImpl
1604 _logger.fine("ConnectorRuntime.getConnection :: poolName : "
1630 _logger.fine(" getConnection i
[all...]
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
H A DDataSource.java111 public Connection getConnection() throws SQLException { method in class:DataSource
142 public Connection getConnection(String user, String pwd) throws SQLException { method in class:DataSource
160 * @param con Connection obtained from <code>Datasource.getConnection()</code>
165 public Connection getConnection(Connection con) throws SQLException { method in class:DataSource
169 driverCon = ((com.sun.gjc.spi.base.ConnectionHolder) con).getConnection();
355 Connection con = ds.getConnection();
H A DStatementWrapper.java596 public Connection getConnection() throws SQLException { method in class:StatementWrapper
607 return jdbcStatement.getConnection();
H A DConnectionHolder.java137 public Connection getConnection() { method in class:ConnectionHolder
/glassfish-3.1.2/persistence/cmp/internal-api/src/main/java/com/sun/jdo/api/persistence/support/
H A DConnectionFactory.java64 Connection getConnection(); method in interface:ConnectionFactory
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/catalina/session/
H A DJDBCStore.java430 Connection _conn = getConnection();
483 Connection _conn = getConnection();
539 Connection _conn = getConnection();
618 Connection _conn = getConnection();
654 Connection _conn = getConnection();
694 Connection _conn = getConnection();
761 protected Connection getConnection(){ method in class:JDBCStore
766 conn = DriverManager.getConnection(connString);
801 this.conn = getConnection();
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/impl/
H A DConnectionFactoryImpl.java499 conn = connectionManager.getConnection();
539 conn = connectionManager.getConnection();
560 public Connection getConnection() method in class:ConnectionFactoryImpl
567 Connection conn = connectionManager.getConnection();
H A DSQLPersistenceManagerFactory.java677 * username and password. Used to call ConnectionFactory.getConnection(String, String)
892 conn = getConnection(username, password);
921 private Connection getConnection(String username, String password) throws SQLException{ method in class:SQLPersistenceManagerFactory
925 conn = _connectionFactory.getConnection();
927 conn = EJBHelper.getConnection(_dataSource, username, password);
930 conn = ((DataSource)_dataSource).getConnection();
932 conn = ((DataSource)_dataSource).getConnection(username, password);
/glassfish-3.1.2/security/core/src/main/java/com/sun/enterprise/security/auth/realm/jdbc/
H A DJDBCRealm.java354 connection = getConnection();
429 connection = getConnection();
547 connection = getConnection();
596 private Connection getConnection() throws LoginException { method in class:JDBCRealm
613 connection = dataSource.getConnection(dbUser, dbPassword);
615 connection = dataSource.getConnection();
/glassfish-3.1.2/persistence/common/src/main/java/org/glassfish/persistence/common/
H A DJava2DBProcessorHelper.java555 conn = getConnection(resourceName);
591 conn = getConnection(resourceName);
619 private Connection getConnection(String jndiName) throws Exception { method in class:Java2DBProcessorHelper
626 return ds.getConnection();
/glassfish-3.1.2/tests/amx/src/org/glassfish/admin/amxtest/
H A DAMXTestBase.java107 checkConnection(getConnection());
112 new MBeanServerConnectionConnectionSource(getConnection());
230 final MBeanServerConnection conn = getConnection();
299 assert (getConnection() != null);
312 checkConnection(getConnection());
412 getConnection() { method in class:AMXTestBase

Completed in 1602 milliseconds

12