jrun.sql
Class RemoteSQLInvocation

java.lang.Object
  |
  +--jrunx.rmi.Invocation
        |
        +--jrun.sql.RemoteSQLInvocation
All Implemented Interfaces:
ClusterConstants, java.io.Externalizable, java.io.Serializable

public class RemoteSQLInvocation
extends Invocation

This object describes a remote invocation on one of the following SQL resources: DataSource, Conection, Statement, ResultSet. It is similar to jrunx.kernel.remote.ServiceInvocation, and receives most of its functionality by subclassing that class. It adds the ability to handle a RemoteSQLIdentifier, so that it can carry such an identifier across the wire.

Author:
PS Neville
See Also:
SQLInvokerBean,
, Serialized Form

Fields inherited from class jrunx.rmi.Invocation
args, clientInvocationThread, clusterAlgorithm, marshalledArgs, marshalledResult, marshalledThrowable, method, methodName, methodResult, rmiMarshalling, signature, stubs, subsystem, system, throwable
 
Fields inherited from interface jrunx.cluster.ClusterConstants
AVAILABLE_SERVICES, CLUSTER_MANAGER_JNDI, DEFAULT_CLUSTER_DOMAIN, DEFAULT_ENABLED, JINI_CODE_BASE_JAR, PRIMARY_SERVICE, SECONDARY_SERVICE
 
Constructor Summary
RemoteSQLInvocation()
           
RemoteSQLInvocation(java.lang.String pool, java.lang.reflect.Method method, java.lang.Object[] args)
           
 
Method Summary
 RemoteSQLIdentifier getID()
           
 void readExternal(java.io.ObjectInput in)
           
 void setID(RemoteSQLIdentifier i)
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class jrunx.rmi.Invocation
addService, clearThrowable, getArgs, getClientInvocationThread, getClusterAlgorithm, getKnownServices, getMethod, getMethodName, getMethodResult, getSignature, getSubsystem, getSystem, getThrowable, invoke, isRmiMarshalling, marshall, removeService, setArgs, setClientInvocationThread, setClusterAlgorithm, setKnownServices, setMethod, setMethodName, setMethodResult, setRmiMarshalling, setSignature, setSubsystem, setSystem, setThrowable, threwThrowable, toString, unmarshall
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteSQLInvocation

public RemoteSQLInvocation()

RemoteSQLInvocation

public RemoteSQLInvocation(java.lang.String pool,
                           java.lang.reflect.Method method,
                           java.lang.Object[] args)
Method Detail

getID

public RemoteSQLIdentifier getID()

setID

public void setID(RemoteSQLIdentifier i)

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Overrides:
writeExternal in class Invocation

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Overrides:
readExternal in class Invocation


Copyright � 2002 Macromedia Corporation. All Rights Reserved.