Searched defs:mcf (Results 1 - 23 of 23) sorted by relevance

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DConnectionManager.java94 * @param mcf
114 Object allocateConnection(ManagedConnectionFactory mcf, argument
H A DLazyAssociatableConnectionManager.java62 * @param mcf The <code>ManagedConnectionFactory</code> instance that was
81 void associateConnection(Object connection, ManagedConnectionFactory mcf, argument
94 * @param mcf The <code>ManagedConnectionFactory</code> instance that was
100 ManagedConnectionFactory mcf);
99 inactiveConnectionClosed(Object connection, ManagedConnectionFactory mcf) argument
/glassfish-3.1.2/connectors/connectors-internal-api/src/main/java/com/sun/appserv/connectors/internal/spi/
H A DConnectionManager.java53 * @param mcf ManagedConnectionFactory
58 Object allocateNonTxConnection( ManagedConnectionFactory mcf, argument
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DConnectionManager.java59 * @param mcf <code>ManagedConnectionFactory</code> object.
64 public Object allocateConnection(ManagedConnectionFactory mcf, argument
67 ManagedConnection mc = mcf.createManagedConnection(null, info);
H A DManagedConnection.java100 private javax.resource.spi.ManagedConnectionFactory mcf = null; field in class:ManagedConnection
171 javax.resource.spi.ManagedConnectionFactory mcf,
193 this.mcf = mcf;
195 this.mcf.equals(passwdCredential.getManagedConnectionFactory()) == false) {
201 logWriter = mcf.getLogWriter();
266 ManagedConnectionFactory spiMCF = (ManagedConnectionFactory) mcf;
347 ManagedConnectionFactory spiMCF = (ManagedConnectionFactory) mcf;
447 PasswordCredential passwdCred = SecurityUtils.getPasswordCredential(this.mcf, sub, cxRequestInfo);
456 ManagedConnectionFactory spiMCF = (ManagedConnectionFactory) mcf;
169 ManagedConnection(PooledConnection pooledConn, java.sql.Connection sqlConn, PasswordCredential passwdCred, javax.resource.spi.ManagedConnectionFactory mcf, PoolInfo poolInfo, int statementCacheSize, String statementCacheType, SQLTraceDelegator delegator, long statementLeakTimeout, boolean statementLeakReclaim) argument
[all...]
H A DManagedConnectionFactory.java1291 ManagedConnectionFactory mcf) throws ResourceException {
1292 return new com.sun.gjc.spi.ManagedConnection(pc, sqlCon, passCred, mcf,
1407 //task will keep running till mcf is destroyed even if
1289 constructManagedConnection(PooledConnection pc, Connection sqlCon, PasswordCredential passCred, ManagedConnectionFactory mcf) argument
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc30/src/main/java/com/sun/gjc/spi/jdbc30/
H A DDataSource30.java62 * @param mcf <code>ManagedConnectionFactory</code> object
67 public DataSource30(ManagedConnectionFactory mcf, ConnectionManager cm) { argument
68 super(mcf, cm);
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/
H A DLazyAssociatableConnectionManagerImpl.java60 javax.resource.spi.ManagedConnectionFactory mcf,
65 allocateConnection(mcf, info, jndiName, connection);
68 public void inactiveConnectionClosed(Object connection, ManagedConnectionFactory mcf) { argument
59 associateConnection(Object connection, javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo info) argument
H A DPoolMetaData.java67 private ManagedConnectionFactory mcf = null; field in class:PoolMetaData
79 public PoolMetaData(PoolInfo poolInfo, ManagedConnectionFactory mcf, argument
84 this.mcf = mcf;
96 return this.mcf;
H A DActiveResourceAdapterImpl.java341 ManagedConnectionFactory mcf = null;
342 mcf = instantiateMCF(mcfClass, jcl);
344 if (mcf instanceof ConfigurableTransactionSupport) {
347 ((ConfigurableTransactionSupport)mcf).setTransactionSupport(ts);
351 (mcf, ccp.getConnectorDescriptorInfo().getMCFConfigProperties());
356 return mcf;
388 * @param mcf ManagedConnectionFactory
390 private void setLogWriter(ManagedConnectionFactory mcf) { argument
393 mcf.setLogWriter(adapter);
395 Object[] params = new Object[]{mcf
[all...]
H A DConnectionManagerImpl.java137 public Object allocateNonTxConnection(ManagedConnectionFactory mcf, argument
155 return allocateConnection(mcf, cxRequestInfo, localJndiName);
158 public Object allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo) argument
160 return this.allocateConnection(mcf, cxRequestInfo, jndiName);
163 public Object allocateConnection(ManagedConnectionFactory mcf, ConnectionRequestInfo cxRequestInfo, argument
165 return this.allocateConnection(mcf, cxRequestInfo, jndiNameToUse, null);
168 public Object allocateConnection(ManagedConnectionFactory mcf, argument
190 return internalGetConnection(mcf, defaultPrin, cxRequestInfo,
202 return internalGetConnection(mcf, null, cxRequestInfo,
236 return internalGetConnection(mcf, pri
241 internalGetConnection(ManagedConnectionFactory mcf, final ResourcePrincipal prin, ConnectionRequestInfo cxRequestInfo, boolean shareable, String jndiNameToUse, Object conn, boolean isUnknownAuth) argument
313 getResource(int txLevel, PoolManager poolmgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo cxRequestInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable) argument
[all...]
/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/security/
H A DPasswordCredential.java60 private ManagedConnectionFactory mcf; field in class:PasswordCredential
112 return mcf;
118 * @param mcf ManagedConnectionFactory instance for which user name
122 void setManagedConnectionFactory(ManagedConnectionFactory mcf) { argument
123 this.mcf = mcf;
/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/node/runtime/
H A DMDBConnectionFactoryNode.java103 public Node writeDescriptor(Node parent, String nodeName, MdbConnectionFactoryDescriptor mcf) { argument
104 Node mcfNode = super.writeDescriptor(parent, nodeName, mcf);
105 appendTextChild(mcfNode, RuntimeTagNames.JNDI_NAME, mcf.getJndiName());
106 if (mcf.getDefaultResourcePrincipal()!=null) {
108 subNode.writeDescriptor(mcfNode, RuntimeTagNames.DEFAULT_RESOURCE_PRINCIPAL, mcf.getDefaultResourcePrincipal());
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/util/
H A DSecurityUtils.java81 * @param mcf <code>ManagedConnectionFactory</code>
88 public static PasswordCredential getPasswordCredential(final ManagedConnectionFactory mcf, argument
102 if (temp.getManagedConnectionFactory().equals(mcf)) {
119 pc.setManagedConnectionFactory(mcf);
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc40/src/main/java/com/sun/gjc/spi/jdbc40/
H A DDataSource40.java71 * @param mcf <code>ManagedConnectionFactory</code> object
76 public DataSource40(ManagedConnectionFactory mcf, ConnectionManager cm) { argument
77 super(mcf, cm);
100 Object cds = mcf.getDataSource();
135 Object cds = mcf.getDataSource();
152 return (Logger) executor.invokeMethod(mcf.getDataSource().getClass(),
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/service/
H A DJdbcAdminServiceImpl.java207 ManagedConnectionFactory mcf = null;
213 mcf = ccPoolAdmService.obtainManagedConnectionFactory(poolInfo);
219 getDefaultDatabaseName(poolInfo, mcf));
239 * @param mcf
243 private String getDefaultDatabaseName(PoolInfo poolInfo, ManagedConnectionFactory mcf) argument
262 databaseName = ConnectionPoolObjectsUtils.getValueFromMCF("DatabaseName", poolInfo, mcf);
H A DConnectorConnectionPoolAdminServiceImpl.java189 ManagedConnectionFactory mcf = obtainManagedConnectionFactory(poolInfo);
190 if (mcf == null) {
452 * specified mcf and resource principal.
454 * @param mcf
459 protected Subject getDefaultSubject(PoolInfo poolInfo, ManagedConnectionFactory mcf, argument
464 resourcePrincipal = getDefaultResourcePrincipal(poolInfo, mcf);
479 ConnectionPoolObjectsUtils.createSubject(mcf, resourcePrincipal);
490 * Utility method to get Managed connection from the supplied mcf and
492 * @param mcf
497 protected ManagedConnection getManagedConnection(ManagedConnectionFactory mcf, argument
766 getDefaultResourcePrincipal(PoolInfo poolInfo, ManagedConnectionFactory mcf, Hashtable env) argument
977 validateMCF(ManagedConnectionFactory mcf, String raName) argument
[all...]
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/resource/allocator/
H A DConnectorAllocator.java145 ManagedConnectionFactory mcf,
152 super(poolMgr, mcf, spec, subject, reqInfo, info, desc);
161 mcf.createManagedConnection(subject, reqInfo);
144 ConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable) argument
H A DLocalTxConnectorAllocator.java66 ManagedConnectionFactory mcf,
72 super(poolMgr, mcf, spec, subject, reqInfo, info, desc);
87 ManagedConnection mc = mcf.createManagedConnection(subject, reqInfo);
65 LocalTxConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc, boolean shareable) argument
H A DNoTxConnectorAllocator.java115 ManagedConnectionFactory mcf,
121 super(poolMgr, mcf, spec, subject, reqInfo, info, desc);
129 mcf.createManagedConnection(subject, reqInfo);
114 NoTxConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc) argument
H A DAbstractConnectorAllocator.java82 protected ManagedConnectionFactory mcf; field in class:AbstractConnectorAllocator
92 ManagedConnectionFactory mcf,
99 this.mcf = mcf;
110 if (mcf instanceof ValidatingManagedConnectionFactory) {
111 return ((ValidatingManagedConnectionFactory) this.mcf).
178 mcf.matchManagedConnections(set, subject, reqInfo);
221 return mcf instanceof ValidatingManagedConnectionFactory;
91 AbstractConnectorAllocator(PoolManager poolMgr, ManagedConnectionFactory mcf, ResourceSpec spec, Subject subject, ConnectionRequestInfo reqInfo, ClientSecurityInfo info, ConnectorDescriptor desc) argument
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/util/
H A DConnectionPoolObjectsUtils.java305 ManagedConnectionFactory mcf) {
308 Method m = mcf.getClass().getMethod("get" + prop, (java.lang.Class[]) null);
309 result = (String) m.invoke(mcf, (java.lang.Object[]) null);
319 public static Subject createSubject(ManagedConnectionFactory mcf, argument
329 pc.setManagedConnectionFactory(mcf);
304 getValueFromMCF(String prop, PoolInfo poolInfo, ManagedConnectionFactory mcf) argument
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
H A DDataSource.java69 protected ManagedConnectionFactory mcf; field in class:DataSource
89 * @param mcf <code>ManagedConnectionFactory</code> object
94 public DataSource(ManagedConnectionFactory mcf, ConnectionManager cm) { argument
95 this.mcf = mcf;
114 cm.allocateConnection(mcf, null);
146 cm.allocateConnection(mcf, info);
190 cm).allocateNonTxConnection(mcf, null);
218 cm).allocateNonTxConnection(mcf, cxReqInfo);

Completed in 77 milliseconds