org.jboss.proxy.ejb
Class DynamicIIOPStub

java.lang.Object
  extended byorg.omg.CORBA.portable.ObjectImpl
      extended byorg.omg.CORBA_2_3.portable.ObjectImpl
          extended byjavax.rmi.CORBA.Stub
              extended byorg.jboss.proxy.ejb.DynamicIIOPStub
All Implemented Interfaces:
org.omg.CORBA.Object, java.io.Serializable

public abstract class DynamicIIOPStub
extends javax.rmi.CORBA.Stub

Dynamically generated IIOP stub classes extend this abstract superclass, which extends javax.rmi.CORBA.Stub. A DynamicIIOPStub is a local proxy of a remote object. It has methods (invoke(), invokeBoolean(), invokeByte(), and so on) that send an IIOP request to the server that implements the remote object, receive the reply from the server, and return the results to the caller. All of these methods take the IDL name of the operation, a StubStrategy instance to be used for marshalling parameters and unmarshalling the result, plus an array of operation parameters.

See Also:
Serialized Form

Constructor Summary
DynamicIIOPStub()
          Constructs a DynamicIIOPStub.
 
Method Summary
 java.lang.Object invoke(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns an Object result to the caller.
 boolean invokeBoolean(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a boolean result to the caller.
 byte invokeByte(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a byte result to the caller.
 char invokeChar(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a char result to the caller.
 double invokeDouble(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a double result to the caller.
 float invokeFloat(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a float result to the caller.
 int invokeInt(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns an int result to the caller.
 long invokeLong(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a long result to the caller.
 short invokeShort(java.lang.String operationName, StubStrategy (src)  stubStrategy, java.lang.Object[] params)
          Sends a request message to the server, receives the reply from the server, and returns a short result to the caller.
 
Methods inherited from class javax.rmi.CORBA.Stub
connect, equals, hashCode, toString
 
Methods inherited from class org.omg.CORBA_2_3.portable.ObjectImpl
_get_codebase
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _ids, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DynamicIIOPStub

public DynamicIIOPStub()
Constructs a DynamicIIOPStub.

Method Detail

invoke

public java.lang.Object invoke(java.lang.String operationName,
                               StubStrategy (src)  stubStrategy,
                               java.lang.Object[] params)
                        throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns an Object result to the caller.

Throws:
java.lang.Throwable

invokeBoolean

public boolean invokeBoolean(java.lang.String operationName,
                             StubStrategy (src)  stubStrategy,
                             java.lang.Object[] params)
                      throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a boolean result to the caller.

Throws:
java.lang.Throwable

invokeByte

public byte invokeByte(java.lang.String operationName,
                       StubStrategy (src)  stubStrategy,
                       java.lang.Object[] params)
                throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a byte result to the caller.

Throws:
java.lang.Throwable

invokeChar

public char invokeChar(java.lang.String operationName,
                       StubStrategy (src)  stubStrategy,
                       java.lang.Object[] params)
                throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a char result to the caller.

Throws:
java.lang.Throwable

invokeShort

public short invokeShort(java.lang.String operationName,
                         StubStrategy (src)  stubStrategy,
                         java.lang.Object[] params)
                  throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a short result to the caller.

Throws:
java.lang.Throwable

invokeInt

public int invokeInt(java.lang.String operationName,
                     StubStrategy (src)  stubStrategy,
                     java.lang.Object[] params)
              throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns an int result to the caller.

Throws:
java.lang.Throwable

invokeLong

public long invokeLong(java.lang.String operationName,
                       StubStrategy (src)  stubStrategy,
                       java.lang.Object[] params)
                throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a long result to the caller.

Throws:
java.lang.Throwable

invokeFloat

public float invokeFloat(java.lang.String operationName,
                         StubStrategy (src)  stubStrategy,
                         java.lang.Object[] params)
                  throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a float result to the caller.

Throws:
java.lang.Throwable

invokeDouble

public double invokeDouble(java.lang.String operationName,
                           StubStrategy (src)  stubStrategy,
                           java.lang.Object[] params)
                    throws java.lang.Throwable
Sends a request message to the server, receives the reply from the server, and returns a double result to the caller.

Throws:
java.lang.Throwable