Package org.jboss.as.ejb3.iiop.stub
Class DynamicIIOPStub
- java.lang.Object
-
- org.omg.CORBA.portable.ObjectImpl
-
- org.omg.CORBA_2_3.portable.ObjectImpl
-
- javax.rmi.CORBA.Stub
-
- org.jboss.as.ejb3.iiop.stub.DynamicIIOPStub
-
- All Implemented Interfaces:
Serializable,org.omg.CORBA.Object
public abstract class DynamicIIOPStub extends javax.rmi.CORBA.StubDynamically generated IIOP stub classes extend this abstract superclass, which extendsjavax.rmi.CORBA.Stub. ADynamicIIOPStubis 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, aStubStrategyinstance to be used for marshalling parameters and unmarshalling the result, plus an array of operation parameters.- Author:
- Francisco Reverbel, Stuart Douglas
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DynamicIIOPStub()Constructs aDynamicIIOPStub.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectinvoke(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns anObjectresult to the caller.booleaninvokeBoolean(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns abooleanresult to the caller.byteinvokeByte(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns abyteresult to the caller.charinvokeChar(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns acharresult to the caller.doubleinvokeDouble(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns adoubleresult to the caller.floatinvokeFloat(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns afloatresult to the caller.intinvokeInt(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns anintresult to the caller.longinvokeLong(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns alongresult to the caller.shortinvokeShort(String operationName, StubStrategy stubStrategy, Object[] params)Sends a request message to the server, receives the reply from the server, and returns ashortresult to the caller.StringtoString()-
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
-
-
-
-
Method Detail
-
invoke
public Object invoke(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns anObjectresult to the caller.- Throws:
Throwable
-
invokeBoolean
public boolean invokeBoolean(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns abooleanresult to the caller.- Throws:
Throwable
-
invokeByte
public byte invokeByte(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns abyteresult to the caller.- Throws:
Throwable
-
invokeChar
public char invokeChar(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns acharresult to the caller.- Throws:
Throwable
-
invokeShort
public short invokeShort(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns ashortresult to the caller.- Throws:
Throwable
-
invokeInt
public int invokeInt(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns anintresult to the caller.- Throws:
Throwable
-
invokeLong
public long invokeLong(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns alongresult to the caller.- Throws:
Throwable
-
invokeFloat
public float invokeFloat(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns afloatresult to the caller.- Throws:
Throwable
-
invokeDouble
public double invokeDouble(String operationName, StubStrategy stubStrategy, Object[] params) throws Throwable
Sends a request message to the server, receives the reply from the server, and returns adoubleresult to the caller.- Throws:
Throwable
-
toString
public String toString()
- Overrides:
toStringin classjavax.rmi.CORBA.Stub
-
-