Téléchargement de l’api easybeans-component-jdbcpool-1.1.0-RC1.jar

Author:

Téléchargement de l'api easybeans-component-jdbcpool-1.1.0-RC1.jar
Download here
org.ow2.easybeans.component.jdbcpool.ConnectionManager(Ci-dessous la liste des Méthodes de la classe)

public void ()
public static org.ow2.easybeans.component.jdbcpool.ConnectionManager getConnectionManager(String dsname)
public String getDSName()
public void setDSName(String s)
public String getDatasourceName()
public void setDatasourceName(String dataSourceName)
public String getUrl()
public void setUrl(String url)
public String getClassName()
public void setClassName(String className)
		throws java.lang.ClassNotFoundException
public String getUserName()
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public void setTransactionIsolation(String level)
public String getTransactionIsolation()
public int getPoolMin()
public synchronized void setPoolMin(int min)
public int getPoolMax()
public synchronized void setPoolMax(int max)
public int getMaxAge()
public long getMaxAgeMilli()
public void setMaxAge(int mn)
public int getMaxOpenTime()
public long getMaxOpenTimeMilli()
public void setMaxOpenTime(int mn)
public int getMaxWaitTime()
public void setMaxWaitTime(int sec)
public int getMaxWaiters()
public void setMaxWaiters(int nb)
public int getSamplingPeriod()
public void setSamplingPeriod(int sec)
public int getCheckLevel()
public void setCheckLevel(int level)
public int getPstmtMax()
public void setPstmtMax(int nb)
public String getTestStatement()
public void setTestStatement(String s)
public void poolConfigure(String connchecklevel, String connmaxage, String maxopentime, String connteststmt, String pstmtmax, String minconpool, String maxconpool, String maxwaittime, String maxwaiters, String samplingperiod)
public int getBusyMaxRecent()
public int getBusyMinRecent()
public int getCurrentWaiters()
public int getOpenedCount()
public int getConnectionFailures()
public int getConnectionLeaks()
public int getServedOpen()
public int getRejectedFull()
public int getRejectedTimeout()
public int getRejectedOther()
public int getRejectedOpen()
public int getWaitersHigh()
public int getWaitersHighRecent()
public int getWaiterCount()
public long getWaitingTime()
public long getWaitingHigh()
public long getWaitingHighRecent()
public int getLoginTimeout()
		throws java.sql.SQLException
public void setLoginTimeout(int seconds)
		throws java.sql.SQLException
public java.io.PrintWriter getLogWriter()
		throws java.sql.SQLException
public void setLogWriter(java.io.PrintWriter out)
		throws java.sql.SQLException
public java.sql.Connection getConnection()
		throws java.sql.SQLException
public java.sql.Connection getConnection(String username, String password)
		throws java.sql.SQLException
public javax.sql.XAConnection getXAConnection()
		throws java.sql.SQLException
public javax.sql.XAConnection getXAConnection(String user, String passwd)
		throws java.sql.SQLException
public javax.naming.Reference getReference()
		throws javax.naming.NamingException
public void connectionClosed(javax.sql.ConnectionEvent event)
public void connectionErrorOccurred(javax.sql.ConnectionEvent event)
public int getCurrentOpened()
public int getCurrentBusy()
public void recomputeBusy()
public int getCurrentInTx()
public synchronized void sampling()
public synchronized void adjust()
public synchronized org.ow2.easybeans.component.jdbcpool.JManagedConnection openConnection(String user, javax.transaction.Transaction tx)
		throws java.sql.SQLException
public synchronized void freeConnections(javax.transaction.Transaction tx)
public synchronized void closeAllConnection()
private boolean closeConnection(org.ow2.easybeans.component.jdbcpool.JManagedConnection mc, int flag)
private synchronized void freeItem(org.ow2.easybeans.component.jdbcpool.JManagedConnection item)
private synchronized void destroyItem(org.ow2.easybeans.component.jdbcpool.JManagedConnection mc)
public String checkConnection(String testStatement)
		throws java.sql.SQLException
protected void setTm(javax.transaction.TransactionManager tm)
static void ()

org.ow2.easybeans.component.jdbcpool.DataSourceFactory(Ci-dessous la liste des Méthodes de la classe)

public void ()
public Object getObjectInstance(Object obj, javax.naming.Name name, javax.naming.Context nameCtx, java.util.Hashtable environment)
		throws java.lang.Exception
static void ()

org.ow2.easybeans.component.jdbcpool.JConnection(Ci-dessous la liste des Méthodes de la classe)

public void (org.ow2.easybeans.component.jdbcpool.JManagedConnection xaConnection, java.sql.Connection physicalConnection)
public java.sql.Connection getConnection()
public java.sql.Statement createStatement()
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql)
		throws java.sql.SQLException
public java.sql.CallableStatement prepareCall(String sql)
		throws java.sql.SQLException
public String nativeSQL(String sql)
		throws java.sql.SQLException
public boolean isPhysicallyClosed()
		throws java.sql.SQLException
public boolean isClosed()
		throws java.sql.SQLException
public java.sql.DatabaseMetaData getMetaData()
		throws java.sql.SQLException
public void setReadOnly(boolean readOnly)
		throws java.sql.SQLException
public boolean isReadOnly()
		throws java.sql.SQLException
public void setCatalog(String catalog)
		throws java.sql.SQLException
public String getCatalog()
		throws java.sql.SQLException
public void close()
		throws java.sql.SQLException
public void setTransactionIsolation(int level)
		throws java.sql.SQLException
public int getTransactionIsolation()
		throws java.sql.SQLException
public java.sql.SQLWarning getWarnings()
		throws java.sql.SQLException
public void clearWarnings()
		throws java.sql.SQLException
public void commit()
		throws java.sql.SQLException
public void rollback()
		throws java.sql.SQLException
public void setAutoCommit(boolean autoCommit)
		throws java.sql.SQLException
public boolean getAutoCommit()
		throws java.sql.SQLException
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency)
		throws java.sql.SQLException
public java.util.Map getTypeMap() [Signature(()Ljava/util/Map;>;)]
		throws java.sql.SQLException
public void setTypeMap(java.util.Map map) [Signature((Ljava/util/Map;>;)V)]
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
		throws java.sql.SQLException
public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency)
		throws java.sql.SQLException
public java.sql.Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability)
		throws java.sql.SQLException
public int getHoldability()
		throws java.sql.SQLException
public java.sql.CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql, int autoGeneratedKeys)
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability)
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql, int[] columnIndexes)
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql, String[] columnNames)
		throws java.sql.SQLException
public void releaseSavepoint(java.sql.Savepoint savepoint)
		throws java.sql.SQLException
public void rollback(java.sql.Savepoint savepoint)
		throws java.sql.SQLException
public void setHoldability(int holdability)
		throws java.sql.SQLException
public java.sql.Savepoint setSavepoint()
		throws java.sql.SQLException
public java.sql.Savepoint setSavepoint(String name)
		throws java.sql.SQLException
static void ()

org.ow2.easybeans.component.jdbcpool.JDBCPoolComponent(Ci-dessous la liste des Méthodes de la classe)

public void ()
public void init()
		throws org.ow2.easybeans.component.api.EZBComponentException
private void validate()
		throws org.ow2.easybeans.component.api.EZBComponentException
public void start()
		throws org.ow2.easybeans.component.api.EZBComponentException
public void stop()
		throws org.ow2.easybeans.component.api.EZBComponentException
public void setDriver(String driver)
public String getDriver()
public void setJndiName(String jndiName)
public String getJndiName()
public void setPassword(String password)
public void setPoolMax(int poolMax)
public int getPoolMax()
public void setPoolMin(int poolMin)
public int getPoolMin()
public void setPstmtMax(int pstmtMax)
public int getPstmtMax()
public void setUrl(String url)
public String getUrl()
public void setUsername(String username)
public String getUsername()
public void setUseTM(boolean useTM)
public boolean isUseTM()
public int getCheckLevel()
public void setCheckLevel(int checkLevel)
static void ()

org.ow2.easybeans.component.jdbcpool.JManagedConnection(Ci-dessous la liste des Méthodes de la classe)

public void (java.sql.Connection physicalConnection, org.ow2.easybeans.component.jdbcpool.ConnectionManager ds)
public int getIdentifier()
public void setPstmtMax(int max)
public void commit(javax.transaction.xa.Xid xid, boolean onePhase)
		throws javax.transaction.xa.XAException
public void end(javax.transaction.xa.Xid xid, int flags)
		throws javax.transaction.xa.XAException
public void forget(javax.transaction.xa.Xid xid)
		throws javax.transaction.xa.XAException
public int getTransactionTimeout()
		throws javax.transaction.xa.XAException
public boolean isSameRM(javax.transaction.xa.XAResource xares)
		throws javax.transaction.xa.XAException
public int prepare(javax.transaction.xa.Xid xid)
		throws javax.transaction.xa.XAException
public javax.transaction.xa.Xid[] recover(int flag)
		throws javax.transaction.xa.XAException
public void rollback(javax.transaction.xa.Xid xid)
		throws javax.transaction.xa.XAException
public boolean setTransactionTimeout(int seconds)
		throws javax.transaction.xa.XAException
public void start(javax.transaction.xa.Xid xid, int flags)
		throws javax.transaction.xa.XAException
public javax.transaction.xa.XAResource getXAResource()
		throws java.sql.SQLException
public int compareTo(Object o)
public int getReUsedPreparedStatements()
public java.sql.Connection getConnection()
		throws java.sql.SQLException
public void close()
		throws java.sql.SQLException
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
public void removeConnectionEventListener(javax.sql.ConnectionEventListener listener)
public void beforeCompletion()
public void afterCompletion(int status)
public boolean isAged()
public boolean isOpen()
public int getOpenCount()
public boolean inactive()
public boolean isClosed()
public void hold()
public boolean release()
public void setTx(javax.transaction.Transaction tx)
public javax.transaction.Transaction getTx()
public void remove()
public java.sql.PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
		throws java.sql.SQLException
public java.sql.PreparedStatement prepareStatement(String sql)
		throws java.sql.SQLException
public void notifyPsClose(org.ow2.easybeans.component.jdbcpool.JStatement ps)
public void notifyClose()
public void notifyError(java.sql.SQLException ex)
static void ()

org.ow2.easybeans.component.jdbcpool.JStatement(Ci-dessous la liste des Méthodes de la classe)

public void (java.sql.PreparedStatement ps, org.ow2.easybeans.component.jdbcpool.JManagedConnection mc, String sql)
public String getSql()
public int hashCode()
public boolean equals(Object stmt)
public boolean forceClose()
public void reuse()
		throws java.sql.SQLException
public boolean isClosed()
public void forget()
public int executeUpdate()
		throws java.sql.SQLException
public void addBatch()
		throws java.sql.SQLException
public void clearParameters()
		throws java.sql.SQLException
public boolean execute()
		throws java.sql.SQLException
public void setByte(int parameterIndex, byte x)
		throws java.sql.SQLException
public void setDouble(int parameterIndex, double x)
		throws java.sql.SQLException
public void setFloat(int parameterIndex, float x)
		throws java.sql.SQLException
public void setInt(int parameterIndex, int x)
		throws java.sql.SQLException
public void setNull(int parameterIndex, int sqlType)
		throws java.sql.SQLException
public void setLong(int parameterIndex, long x)
		throws java.sql.SQLException
public void setShort(int parameterIndex, short x)
		throws java.sql.SQLException
public void setBoolean(int parameterIndex, boolean x)
		throws java.sql.SQLException
public void setBytes(int parameterIndex, byte[] x)
		throws java.sql.SQLException
public void setAsciiStream(int parameterIndex, java.io.InputStream x, int length)
		throws java.sql.SQLException
public void setBinaryStream(int parameterIndex, java.io.InputStream x, int length)
		throws java.sql.SQLException
public void setUnicodeStream(int parameterIndex, java.io.InputStream x, int length)
		throws java.sql.SQLException
public void setCharacterStream(int parameterIndex, java.io.Reader reader, int length)
		throws java.sql.SQLException
public void setObject(int parameterIndex, Object x)
		throws java.sql.SQLException
public void setObject(int parameterIndex, Object x, int targetSqlType)
		throws java.sql.SQLException
public void setObject(int parameterIndex, Object x, int targetSqlType, int scale)
		throws java.sql.SQLException
public void setNull(int paramIndex, int sqlType, String typeName)
		throws java.sql.SQLException
public void setString(int parameterIndex, String x)
		throws java.sql.SQLException
public void setBigDecimal(int parameterIndex, java.math.BigDecimal x)
		throws java.sql.SQLException
public void setURL(int parameterIndex, java.net.URL x)
		throws java.sql.SQLException
public void setArray(int i, java.sql.Array x)
		throws java.sql.SQLException
public void setBlob(int i, java.sql.Blob x)
		throws java.sql.SQLException
public void setClob(int i, java.sql.Clob x)
		throws java.sql.SQLException
public void setDate(int parameterIndex, java.sql.Date x)
		throws java.sql.SQLException
public java.sql.ParameterMetaData getParameterMetaData()
		throws java.sql.SQLException
public void setRef(int i, java.sql.Ref x)
		throws java.sql.SQLException
public java.sql.ResultSet executeQuery()
		throws java.sql.SQLException
public java.sql.ResultSetMetaData getMetaData()
		throws java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time x)
		throws java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp x)
		throws java.sql.SQLException
public void setDate(int parameterIndex, java.sql.Date x, java.util.Calendar cal)
		throws java.sql.SQLException
public void setTime(int parameterIndex, java.sql.Time x, java.util.Calendar cal)
		throws java.sql.SQLException
public void setTimestamp(int parameterIndex, java.sql.Timestamp x, java.util.Calendar cal)
		throws java.sql.SQLException
public int getFetchDirection()
		throws java.sql.SQLException
public int getFetchSize()
		throws java.sql.SQLException
public int getMaxFieldSize()
		throws java.sql.SQLException
public int getMaxRows()
		throws java.sql.SQLException
public int getQueryTimeout()
		throws java.sql.SQLException
public int getResultSetConcurrency()
		throws java.sql.SQLException
public int getResultSetHoldability()
		throws java.sql.SQLException
public int getResultSetType()
		throws java.sql.SQLException
public int getUpdateCount()
		throws java.sql.SQLException
public void cancel()
		throws java.sql.SQLException
public void clearBatch()
		throws java.sql.SQLException
public void clearWarnings()
		throws java.sql.SQLException
public void close()
		throws java.sql.SQLException
public boolean getMoreResults()
		throws java.sql.SQLException
public int[] executeBatch()
		throws java.sql.SQLException
public void setFetchDirection(int direction)
		throws java.sql.SQLException
public void setFetchSize(int rows)
		throws java.sql.SQLException
public void setMaxFieldSize(int max)
		throws java.sql.SQLException
public void setMaxRows(int max)
		throws java.sql.SQLException
public void setQueryTimeout(int seconds)
		throws java.sql.SQLException
public boolean getMoreResults(int current)
		throws java.sql.SQLException
public void setEscapeProcessing(boolean enable)
		throws java.sql.SQLException
public int executeUpdate(String sql)
		throws java.sql.SQLException
public void addBatch(String sql)
		throws java.sql.SQLException
public void setCursorName(String name)
		throws java.sql.SQLException
public boolean execute(String sql)
		throws java.sql.SQLException
public int executeUpdate(String sql, int autoGeneratedKeys)
		throws java.sql.SQLException
public boolean execute(String sql, int autoGeneratedKeys)
		throws java.sql.SQLException
public int executeUpdate(String sql, int[] columnIndexes)
		throws java.sql.SQLException
public boolean execute(String sql, int[] columnIndexes)
		throws java.sql.SQLException
public java.sql.Connection getConnection()
		throws java.sql.SQLException
public java.sql.ResultSet getGeneratedKeys()
		throws java.sql.SQLException
public java.sql.ResultSet getResultSet()
		throws java.sql.SQLException
public java.sql.SQLWarning getWarnings()
		throws java.sql.SQLException
public int executeUpdate(String sql, String[] columnNames)
		throws java.sql.SQLException
public boolean execute(String sql, String[] columnNames)
		throws java.sql.SQLException
public java.sql.ResultSet executeQuery(String sql)
		throws java.sql.SQLException

Leave a Reply

Your email address will not be published. Required fields are marked *