|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.firebirdsql.jca.FBXAConnectionHandle
public class FBXAConnectionHandle
Simple Connection wrapper returned by FBXAConnection.
| Constructor Summary | |
|---|---|
FBXAConnectionHandle(AbstractConnection connection,
javax.sql.XAConnection owner)
Deprecated. Construct instance of this class. |
|
| Method Summary | |
|---|---|
java.sql.Connection |
getProxy()
Deprecated. Get proxy implementing Connection interface and using this
instance as invocation handler. |
javax.sql.XAConnection |
getXAConnection()
Deprecated. Get manager of this connection wrapper. |
void |
handleConnectionClose()
Deprecated. |
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Deprecated. Invoke method on a specified proxy. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FBXAConnectionHandle(AbstractConnection connection,
javax.sql.XAConnection owner)
throws java.sql.SQLException
Connection interface and uses newly constructed
object as invocation handler.
connection - connection to wrap.owner - instance of XAConnection that owns this
connection instance.
java.sql.SQLException - if something went wrong during initialization.| Method Detail |
|---|
public java.sql.Connection getProxy()
Connection interface and using this
instance as invocation handler.
Connection.public javax.sql.XAConnection getXAConnection()
XAConnection.
public void handleConnectionClose()
throws java.sql.SQLException
java.sql.SQLException
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
method
is a method Connection.prepareStatement(String). If yes, we check
if there is already a prepared statement for the wrapped connection or
wrap a newly created one.
invoke in interface java.lang.reflect.InvocationHandlerproxy - proxy on which method is invoked.method - instance of Method describing method being invoked.args - array with arguments.
java.lang.Throwable - if invoked method threw an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||