/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ |
H A D | LocalTransactionImpl.java | 59 private ManagedConnection mc; field in class:LocalTransactionImpl 69 * @param mc <code>ManagedConnection</code> that returns 73 public LocalTransactionImpl(ManagedConnection mc) { argument 74 this.mc = mc; 86 mc.transactionStarted(); 88 mc.getActualConnection().setAutoCommit(false); 106 mc.getActualConnection().commit(); 107 mc.getActualConnection().setAutoCommit(true); 115 mc [all...] |
H A D | XAResourceImpl.java | 56 ManagedConnection mc; field in class:XAResourceImpl 62 * @param mc <code>ManagedConnection</code> 64 public XAResourceImpl(XAResource xar, ManagedConnection mc) { argument 66 this.mc = mc; 77 //the mc.transactionCompleted call has come here because 90 mc.transactionCompleted(); 104 //mc.transactionCompleted(); 156 mc.transactionCompleted(); 160 mc [all...] |
H A D | ManagedConnectionMetaData.java | 59 private ManagedConnection mc; field in class:ManagedConnectionMetaData 72 * @param mc <code>ManagedConnection</code> 75 public ManagedConnectionMetaData(ManagedConnection mc) throws ResourceException { argument 77 this.mc = mc; 78 dmd = mc.getActualConnection().getMetaData(); 142 javax.resource.spi.security.PasswordCredential pc = mc.getPasswordCredential(); 147 return mc.getManagedConnectionFactory().getUser();
|
H A D | ConnectionManager.java | 67 ManagedConnection mc = mcf.createManagedConnection(null, info); 68 return mc.getConnection(null, info);
|
H A D | DSManagedConnectionFactory.java | 105 com.sun.gjc.spi.ManagedConnection mc = null; 135 mc = constructManagedConnection(null, dsConn, pc, this); 138 validateAndSetIsolation(mc); 140 if (mc == null) { 151 return mc;
|
H A D | ManagedConnectionFactory.java | 245 com.sun.gjc.spi.ManagedConnection mc = null; 249 mc = (com.sun.gjc.spi.ManagedConnection) iter.next(); 254 if (pc == null && this.equals(mc.getManagedConnectionFactory())) { 255 return mc; 256 } else if (SecurityUtils.isPasswordCredentialEqual(pc, mc.getPasswordCredential())) { 257 return mc; 277 ManagedConnection mc = (ManagedConnection) iter.next(); 279 isValid(mc); 281 invalidConnections.add(mc); 282 mc 301 isValid(com.sun.gjc.spi.ManagedConnection mc) argument 477 setIsolation(com.sun.gjc.spi.ManagedConnection mc) argument 511 resetIsolation(com.sun.gjc.spi.ManagedConnection mc, int tranIsol) argument 636 validateAndSetIsolation(ManagedConnection mc) argument [all...] |
H A D | CPManagedConnectionFactory.java | 124 com.sun.gjc.spi.ManagedConnection mc = null; 154 mc = constructManagedConnection(cpConn, null, pc, this); 156 mc.initializeConnectionType(ManagedConnection.ISPOOLEDCONNECTION); 159 validateAndSetIsolation(mc); 161 if (mc == null) { 171 return mc;
|
H A D | XAManagedConnectionFactory.java | 106 com.sun.gjc.spi.ManagedConnection mc = null; 134 mc = constructManagedConnection( 137 mc.initializeConnectionType(ManagedConnection.ISXACONNECTION); 139 validateAndSetIsolation(mc); 141 if (mc == null) { 151 return mc;
|
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/ |
H A D | LazyEnlistableConnectionManager.java | 60 * @param mc The <code>ManagedConnection</code> instance that needs to be 75 void lazyEnlist(ManagedConnection mc) throws ResourceException; argument
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/listener/ |
H A D | UnpooledConnectionEventListener.java | 63 ManagedConnection mc = (ManagedConnection) evt.getSource(); 65 mc.destroy(); 81 ManagedConnection mc = (ManagedConnection) evt.getSource(); 82 mc.removeConnectionEventListener(this);
|
H A D | LocalTxConnectionEventListener.java | 82 ManagedConnection mc = (ManagedConnection) evt.getSource(); 83 mc.removeConnectionEventListener(this); 87 mc.destroy(); 104 ManagedConnection mc = (ManagedConnection) evt.getSource(); 105 mc.removeConnectionEventListener(this);
|
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc30/src/main/java/com/sun/gjc/spi/jdbc30/ |
H A D | ConnectionHolder30.java | 59 * @param mc ManagedConnection 62 public ConnectionHolder30(Connection con, ManagedConnection mc, argument 64 super(con, mc, cxRequestInfo);
|
H A D | ConnectionWrapper30.java | 58 * @param mc Managed Connection 61 public ConnectionWrapper30(Connection con, ManagedConnection mc, argument 63 super(con, mc, cxRequestInfo); 125 return mc.prepareCachedCallableStatement(this, sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY); 140 return mc.prepareCachedCallableStatement(this, sql, resultSetType, resultSetConcurrency); 157 return mc.prepareCachedCallableStatement(this, sql, resultSetType, 170 return mc.prepareCachedStatement(this, sql, ResultSet.TYPE_FORWARD_ONLY, 184 return mc.prepareCachedStatement(this, sql, autoGeneratedKeys); 198 return mc.prepareCachedStatement(this, sql, columnIndexes); 213 return mc [all...] |
H A D | ProfiledConnectionWrapper30.java | 72 * @param mc Managed Connection 75 public ProfiledConnectionWrapper30(Connection con, ManagedConnection mc, argument 78 super(con, mc, cxRequestInfo); 177 mc.prepareCachedCallableStatement(this,sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY), 203 mc.prepareCachedCallableStatement(this, sql, resultSetType, resultSetConcurrency), 231 mc.prepareCachedCallableStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability), 254 mc.prepareCachedStatement(this, sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY), 278 mc.prepareCachedStatement(this, sql, autoGeneratedKeys), intf); 302 mc.prepareCachedStatement(this, sql, columnIndexes), intf); 327 mc [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/allocator/ |
H A D | ConnectorAllocator.java | 97 ManagedConnection mc = (ManagedConnection) evt.getSource(); 98 mc.removeConnectionEventListener(this); 111 ManagedConnection mc = (ManagedConnection) evt.getSource(); 112 mc.removeConnectionEventListener(this); 119 ManagedConnection mc = (ManagedConnection) evt.getSource(); 120 mc.removeConnectionEventListener(this); 124 mc.destroy(); 160 ManagedConnection mc = 164 createResourceHandle(mc, spec, this, info); 167 mc [all...] |
H A D | NoTxConnectorAllocator.java | 81 ManagedConnection mc = (ManagedConnection) evt.getSource(); 82 mc.removeConnectionEventListener(this); 87 ManagedConnection mc = (ManagedConnection) evt.getSource(); 88 mc.removeConnectionEventListener(this); 92 mc.destroy(); 128 ManagedConnection mc = 131 createResourceHandle(mc, spec, this, info); 134 mc.addConnectionEventListener(l); 155 ManagedConnection mc = (ManagedConnection) resource.getResource(); 156 Object con = mc [all...] |
H A D | LocalTxConnectorAllocator.java | 87 ManagedConnection mc = mcf.createManagedConnection(subject, reqInfo); 89 ResourceHandle resource = createResourceHandle(mc, spec, this, info); 91 mc.addConnectionEventListener(l); 117 ManagedConnection mc = (ManagedConnection) resource.getResource(); 119 Object con = mc.getConnection(subject, reqInfo); 132 ManagedConnection mc = (ManagedConnection) resource.getResource(); 133 ConnectorXAResource.freeListener(mc); 136 mc.destroy();
|
H A D | AbstractConnectorAllocator.java | 165 ManagedConnection mc = (ManagedConnection) h.getResource(); 166 mc.cleanup(); 177 ManagedConnection mc = 179 return (mc != null); 188 ManagedConnection mc = (ManagedConnection) resource.getResource(); 189 mc.cleanup();
|
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/ |
H A D | LazyEnlistableConnectionManagerImpl.java | 59 public void lazyEnlist( javax.resource.spi.ManagedConnection mc ) throws ResourceException { 60 ConnectorRuntime.getRuntime().getPoolManager().lazyEnlist( mc );
|
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/ |
H A D | ConnectionWrapper40.java | 58 * @param mc Managed Connection 61 public ConnectionWrapper40(Connection con, ManagedConnection mc, argument 64 super(con, mc, cxRequestInfo, jdbc30Connection); 127 return mc.prepareCachedCallableStatement(this, sql, ResultSet.TYPE_FORWARD_ONLY, 143 return mc.prepareCachedCallableStatement(this, sql, resultSetType, resultSetConcurrency); 160 return mc.prepareCachedCallableStatement(this, sql, resultSetType, 173 return mc.prepareCachedStatement(this, sql, ResultSet.TYPE_FORWARD_ONLY, 187 return mc.prepareCachedStatement(this, sql, autoGeneratedKeys); 201 return mc.prepareCachedStatement(this, sql, columnIndexes); 216 return mc [all...] |
H A D | ProfiledConnectionWrapper40.java | 72 * @param mc Managed Connection 75 public ProfiledConnectionWrapper40(Connection con, ManagedConnection mc, argument 78 super(con, mc, cxRequestInfo, jdbc30Connection); 171 mc.prepareCachedCallableStatement(this,sql, ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY), 195 mc.prepareCachedCallableStatement(this, sql, resultSetType, resultSetConcurrency), 221 mc.prepareCachedCallableStatement(this, sql, resultSetType, resultSetConcurrency, resultSetHoldability), 243 mc.prepareCachedStatement(this, sql, 266 mc.prepareCachedStatement(this, sql, autoGeneratedKeys), intf); 288 mc.prepareCachedStatement(this, sql, columnIndexes), intf); 311 mc [all...] |
/glassfish-3.1.2/web/web-ajp/src/main/java/org/apache/jk/common/ |
H A D | JkInputStream.java | 88 private MsgContext mc; field in class:JkInputStream 111 mc = context; 171 mc.getSource().send(outputMsg, mc); 172 mc.getSource().flush(outputMsg, mc); 206 mc.getSource().send( outputMsg, mc ); 244 int err = mc.getSource().receive(bodyMsg, mc); [all...] |
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/ |
H A D | ConnectionHolder.java | 66 protected ManagedConnection mc; field in class:ConnectionHolder 119 public ConnectionHolder(Connection con, ManagedConnection mc, argument 122 this.mc = mc; 123 mcf_ = mc.getMcf(); 125 statementTimeout = mc.getStatementTimeout(); 166 return mc; 174 * @param mc <code> ManagedConnection</code> object. 176 public void associateConnection(Connection con, ManagedConnection mc) { argument 177 this.mc [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/ |
H A D | ConnectorXAResource.java | 97 // initially userHandle is associated with mc 123 ManagedConnection mc = (ManagedConnection) handle.getResource(); 124 mc.getLocalTransaction().commit(); 138 ManagedConnection mc = (ManagedConnection) handle.getResource(); 139 mc.associateConnection(userHandle); 212 ManagedConnection mc = (ManagedConnection) handle.getResource(); 213 mc.getLocalTransaction().rollback(); 226 public static void freeListener(ManagedConnection mc) { argument 227 listenerTable.remove(mc); 247 ManagedConnection mc [all...] |
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/ |
H A D | JdbcAdminServiceImpl.java | 209 ManagedConnection mc = null; 212 mc = (ManagedConnection) ccPoolAdmService.getUnpooledConnection(poolInfo, null, false); 215 if (mc != null) { 216 con = (java.sql.Connection) mc.getConnection(defaultSubject, null); 225 if(mc != null) { 226 mc.destroy();
|