Name
ARG_IN
Synopsis
This abstract interface holds a static value member that is used to
specify an input method argument when creating named values with the
ORB.create_named_value()
method. The last argument to this method is a
integer flag indicating the argument mode for the named value, as it
will be used in a dynamic method invocation. The integer flag can be
either ARG_IN.value
, ARG_OUT.value
, or ARG_INOUT.value
, to indicate
what type of method argument the named value represents. For example,
assuming that you have a reference to an ORB named myOrb
, and an Any
object named myAny
that holds the argument value:
org.omg.CORBA.NamedValue inArg = myOrb.create_named_value("MethodArg1", myAny, org.omg.CORBA.ARG_IN.value);
The inArg
named value can now be used in a Dynamic Invocation
Interface call to a method that has an in argument named “MethodArg1”.
public interface ARG_IN { // Public Constants public static final int value; // =1 }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.