Searched defs:connection (Results 1 - 15 of 15) sorted by relevance

/glassfish-3.1.2/connectors/javax.resource/src/main/java/javax/resource/spi/
H A DConnectionDefinition.java50 * Defines a set of connection interfaces and classes pertaining to a particular
51 * connection type. This annotation can be placed only on a JavaBean that
83 Class connection(); method in interface:ConnectionDefinition
H A DLazyAssociatableConnectionManager.java48 * this interface must support the lazy connection association optimization.
57 * lazy connection association optimization) in order to lazily associate
58 * a connection object with a <code>ManagedConnection</code> instance.
60 * @param connection the connection object that is to be associated.
63 * originally used to create the connection object.
65 * @param cxReqInfo connection request information. This information must
66 * be the same as that used to originally create the connection object.
77 * connection request.
81 void associateConnection(Object connection, ManagedConnectionFactor argument
99 inactiveConnectionClosed(Object connection, ManagedConnectionFactory mcf) argument
[all...]
H A DManagedConnection.java47 /** ManagedConnection instance represents a physical connection
73 /** Creates a new connection handle for the underlying physical connection
74 * represented by the ManagedConnection instance. This connection handle
76 * connection. This connection handle is associated with its
82 * server) to set the state of the physical connection.</p>
86 * @return generic Object instance representing the connection
87 * handle. For CCI, the connection handle created by a
106 /** Destroys the physical connection t
186 associateConnection(Object connection) argument
[all...]
/glassfish-3.1.2/load-balancer/admin/src/main/java/org/glassfish/loadbalancer/admin/cli/connection/
H A DSSLHostNameVerifier.java41 package org.glassfish.loadbalancer.admin.cli.connection;
H A DConnectionManager.java41 package org.glassfish.loadbalancer.admin.cli.connection;
81 * creates a connection to the loadbalancer
84 * @return either HTTP or HTTPS connection to the load balancer.
95 * creates a connection to the loadbalancer
98 * @return either HTTP or HTTPS connection to the load balancer.
126 * creates a connection to the loadbalancer
129 * @return HTTPS connection to the load balancer.
/glassfish-3.1.2/connectors/connectors-runtime/src/main/java/com/sun/enterprise/connectors/
H A DLazyAssociatableConnectionManagerImpl.java59 public void associateConnection(Object connection, argument
63 //the following call will also take care of associating "connection"
65 allocateConnection(mcf, info, jndiName, connection);
68 public void inactiveConnectionClosed(Object connection, ManagedConnectionFactory mcf) { argument
69 //do nothing as application server does not keep track of dissociated connection's connection handles
/glassfish-3.1.2/admin/jmx-remote/client/src/main/java/com/sun/enterprise/admin/jmx/remote/comm/
H A DMBeanServerMessageConductor.java67 private final IConnection connection; field in class:MBeanServerMessageConductor
70 public MBeanServerMessageConductor(IConnection connection) { argument
71 this.connection = connection;
77 connection.send(request);
79 return ((MBeanServerResponseMessage)connection.receive());
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/sftp/
H A DSFTPClient.java58 private Connection connection = null; field in class:SFTPClient
62 this.connection = conn;
63 SSHUtil.register(connection);
67 * Close the SFTP connection and free any resources associated with it.
72 if (connection != null) {
73 SSHUtil.unregister(connection);
74 connection = null;
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/util/
H A DSSHUtil.java63 * Registers a connection for cleanup when the plugin is stopped.
65 * @param connection The connection.
67 public static synchronized void register(Connection connection) { argument
68 if (!activeConnections.contains(connection)) {
69 activeConnections.add(connection);
74 * Unregisters a connection for cleanup when the plugin is stopped.
76 * @param connection The connection.
78 public static synchronized void unregister(Connection connection) { argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/connection/
H A DConnectionImpl.java47 package com.sun.jdo.spi.persistence.support.sqlstore.connection;
70 private Connection connection; field in class:ConnectionImpl
134 this.connection = conn;
158 return connection.createStatement();
191 return connection.prepareStatement(sql);
203 return connection.prepareCall(sql);
208 return (this.connection.nativeSQL(sql));
217 this.connection.setAutoCommit(autoCommit);
225 return (this.connection.getAutoCommit());
234 this.connection
[all...]
H A DConnectionManager.java47 package com.sun.jdo.spi.persistence.support.sqlstore.connection;
65 * <P>This class represents a connection manager, which creates a
75 * <LI>how often to try to get a connection after failing the first time and how long
78 * If you define a connection manager as a component, you can define
80 * <P>You can change only the following settings when the connection manager is
85 * <LI> how often to try to get a connection after failing the first time and how
86 * long to retry for a connection (<code>setMsWait</code> and <code>setMsInterval</code>)
88 * <P>You cannot set any other setting while the connection manager is running.
89 * To change other settings, shut down the connection manager using the
91 * the settings. Then, start the connection manage
[all...]
/glassfish-3.1.2/cluster/ssh/src/main/java/org/glassfish/cluster/ssh/launcher/
H A DSSHLauncher.java120 * The connection object that represents the connection to the host
123 private Connection connection; field in class:SSHLauncher
219 * Opens the connection to the host and authenticates with public
227 connection = new Connection(host, port);
229 connection.connect(new HostVerifier(knownHostsDatabase));
245 connection.authenticateWithPublicKey(userName,
266 isAuthenticated = connection.authenticateWithPassword(userName, password);
284 isAuthenticated = connection.authenticateWithPublicKey(
298 if (!isAuthenticated && !connection
[all...]
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/base/
H A DStatementWrapper.java63 protected Connection connection = null; field in class:StatementWrapper
84 connection = con;
325 * positioning. Also, cursor names must be unique within a connection.
328 * a connection
592 * @return the connection that produced this statement
597 return connection;
601 * Returns the underlying physical connection.<br>
603 * @return the actual connection that produced this statement<br>
H A DDatabaseMetaDataWrapper.java57 protected Connection connection = null; field in class:DatabaseMetaDataWrapper
72 connection = con;
2518 * Retrieves the connection that produced this metadata object.
2521 * @return the connection that produced this metadata object
2526 return connection;
2530 * Returns the actual connection that produced this metadata object<br>
/glassfish-3.1.2/jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/
H A DManagedConnection.java150 * to be null and sqlConn parameter is the actual connection in case where
151 * the actual connection is got from a non pooled datasource object. The
154 * connection pool datasource or an xa datasource.
157 * physical connection is to be obtained from a pooled
160 * connection is to be obtained from a non pooled <code>DataSource</code>;
163 * user and password for allocating the connection
276 * Adds a connection event listener to the ManagedConnection instance.
287 * connection handle with a <code>ManagedConnection</code> instance.
289 * @param connection <code>ConnectionHolder30</code> to be associated with
291 * @throws ResourceException if the physical connection i
294 associateConnection(Object connection) argument
[all...]

Completed in 4120 milliseconds