public abstract class ORB extends Object
ORB class also provides
 "pluggable ORB implementation" APIs that allow another vendor's ORB
 implementation to be used.
 An ORB makes it possible for CORBA objects to communicate with each other by connecting objects making requests (clients) with objects servicing requests (servers).
 The ORB class, which
 encapsulates generic CORBA functionality, does the following:
 (Note that items 5 and 6, which include most of the methods in
 the class ORB, are typically used with the Dynamic Invocation
 Interface (DII) and the Dynamic Skeleton Interface
 (DSI).
 These interfaces may be used by a developer directly, but
 most commonly they are used by the ORB internally and are
 not seen by the general programmer.)
 
resolve_initial_references
 TypeCode
   Any
   NamedValue
   Context
   Environment
   NVList) containing these objects
   
 The ORB class can be used to obtain references to objects
 implemented anywhere on the network.
 
 An application or applet gains access to the CORBA environment
 by initializing itself into an ORB using one of
 three init methods.  Two of the three methods use the properties
 (associations of a name with a value) shown in the
 table below.
 
| Property Name | Property Value | 
|---|---|
| org.omg.CORBA.ORBClass | class name of an ORB implementation | 
| org.omg.CORBA.ORBSingletonClass | class name of the ORB returned by init() | 
 These properties allow a different vendor's ORB
 implementation to be "plugged in."
 
When an ORB instance is being created, the class name of the ORB implementation is located using the following standard search order:
 Note that Java IDL provides a default implementation for the
 fully-functional ORB and for the Singleton ORB.  When the method
 init is given no parameters, the default Singleton
 ORB is returned.  When the method init is given parameters
 but no ORB class is specified, the Java IDL ORB implementation
 is returned.
 
 The following code fragment creates an ORB object
 initialized with the default ORB Singleton.
 This ORB has a
 restricted implementation to prevent malicious applets from doing
 anything beyond creating typecodes.
 It is called a singleton
 because there is only one instance for an entire virtual machine.
 
    ORB orb = ORB.init();
 
 
 The following code fragment creates an ORB object
 for an application.  The parameter args
 represents the arguments supplied to the application's main
 method.  Since the property specifies the ORB class to be
 "SomeORBImplementation", the new ORB will be initialized with
 that ORB implementation.  If p had been null,
 and the arguments had not specified an ORB class,
 the new ORB would have been
 initialized with the default Java IDL implementation.
 
    Properties p = new Properties();
    p.put("org.omg.CORBA.ORBClass", "SomeORBImplementation");
    ORB orb = ORB.init(args, p);
 
 
 The following code fragment creates an ORB object
 for the applet supplied as the first parameter.  If the given
 applet does not specify an ORB class, the new ORB will be
 initialized with the default Java IDL implementation.
 
    ORB orb = ORB.init(myApplet, null);
 
 An application or applet can be initialized in one or more ORBs. ORB initialization is a bootstrap call into the CORBA world.
| Constructor and Description | 
|---|
| ORB() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | connect(Object obj)Connects the given servant object (a Java object that is
 an instance of the server implementation class)
 to the ORB. | 
| TypeCode | create_abstract_interface_tc(String id,
                            String name)Create a  TypeCodeobject for an IDL abstract interface. | 
| abstract TypeCode | create_alias_tc(String id,
               String name,
               TypeCode original_type)Creates a  TypeCodeobject representing an IDLalias(typedef). | 
| abstract Any | create_any()Creates an IDL  Anyobject initialized to
 contain aTypecodeobject whosekindfield
 is set toTCKind.tc_null. | 
| abstract TypeCode | create_array_tc(int length,
               TypeCode element_type)Creates a  TypeCodeobject representing an IDLarray. | 
| DynAny | create_basic_dyn_any(TypeCode type)Deprecated. 
 Use the new DynAnyFactory API instead | 
| abstract ContextList | create_context_list()Creates an empty  ContextListobject. | 
| DynAny | create_dyn_any(Any value)Deprecated. 
 Use the new DynAnyFactory API instead | 
| DynArray | create_dyn_array(TypeCode type)Deprecated. 
 Use the new DynAnyFactory API instead | 
| DynEnum | create_dyn_enum(TypeCode type)Deprecated. 
 Use the new DynAnyFactory API instead | 
| DynSequence | create_dyn_sequence(TypeCode type)Deprecated. 
 Use the new DynAnyFactory API instead | 
| DynStruct | create_dyn_struct(TypeCode type)Deprecated. 
 Use the new DynAnyFactory API instead | 
| DynUnion | create_dyn_union(TypeCode type)Deprecated. 
 Use the new DynAnyFactory API instead | 
| abstract TypeCode | create_enum_tc(String id,
              String name,
              String[] members)Creates a  TypeCodeobject representing an IDLenum. | 
| abstract Environment | create_environment()Creates an  Environmentobject. | 
| abstract ExceptionList | create_exception_list()Creates an empty  ExceptionListobject. | 
| abstract TypeCode | create_exception_tc(String id,
                   String name,
                   StructMember[] members)Creates a  TypeCodeobject representing an IDLexception. | 
| TypeCode | create_fixed_tc(short digits,
               short scale)Create a  TypeCodeobject for an IDL fixed type. | 
| abstract TypeCode | create_interface_tc(String id,
                   String name)Creates a  TypeCodeobject representing an IDLinterface. | 
| abstract NVList | create_list(int count)Allocates an  NVListwith (probably) enough
 space for the specified number ofNamedValueobjects. | 
| abstract NamedValue | create_named_value(String s,
                  Any any,
                  int flags)Creates a  NamedValueobject
 using the given name, value, and argument mode flags. | 
| TypeCode | create_native_tc(String id,
                String name)Create a  TypeCodeobject for an IDL native type. | 
| NVList | create_operation_list(Object oper)Creates an  NVListinitialized with argument
 descriptions for the operation described in the givenOperationDefobject. | 
| abstract OutputStream | create_output_stream()Creates a new  org.omg.CORBA.portable.OutputStreaminto which
 IDL method parameters can be marshalled during method invocation. | 
| Policy | create_policy(int type,
             Any val)Can be invoked to create new instances of policy objects
 of a specific type with specified initial state. | 
| abstract TypeCode | create_recursive_sequence_tc(int bound,
                            int offset)Deprecated. 
 Use a combination of create_recursive_tc and create_sequence_tc instead | 
| TypeCode | create_recursive_tc(String id)Create a recursive  TypeCodeobject which
 serves as a placeholder for a concrete TypeCode during the process of creating
 TypeCodes which contain recursion. | 
| abstract TypeCode | create_sequence_tc(int bound,
                  TypeCode element_type)Creates a  TypeCodeobject representing an IDLsequence. | 
| abstract TypeCode | create_string_tc(int bound)Creates a  TypeCodeobject representing a bounded IDLstring. | 
| abstract TypeCode | create_struct_tc(String id,
                String name,
                StructMember[] members)Creates a  TypeCodeobject representing an IDLstruct. | 
| abstract TypeCode | create_union_tc(String id,
               String name,
               TypeCode discriminator_type,
               UnionMember[] members)Creates a  TypeCodeobject representing an IDLunion. | 
| TypeCode | create_value_box_tc(String id,
                   String name,
                   TypeCode boxed_type)Creates a  TypeCodeobject for an IDL value box. | 
| TypeCode | create_value_tc(String id,
               String name,
               short type_modifier,
               TypeCode concrete_base,
               ValueMember[] members)Create a  TypeCodeobject for an IDL value type. | 
| abstract TypeCode | create_wstring_tc(int bound)Creates a  TypeCodeobject representing a bounded IDLwstring(wide string). | 
| void | destroy()Destroys the ORB so that its resources can be reclaimed. | 
| void | disconnect(Object obj)Disconnects the given servant object from the ORB. | 
| Current | get_current()Deprecated. 
 use  resolve_initial_references. | 
| abstract Context | get_default_context()Gets the default  Contextobject. | 
| abstract Request | get_next_response()Gets the next  Requestinstance for which a response
 has been received. | 
| abstract TypeCode | get_primitive_tc(TCKind tcKind)Retrieves the  TypeCodeobject that represents
 the given primitive IDL type. | 
| boolean | get_service_information(short service_type,
                       ServiceInformationHolder service_info)Used to obtain information about CORBA facilities and services
 that are supported by this ORB. | 
| static ORB | init()Returns the  ORBsingleton object. | 
| static ORB | init(Applet app,
    Properties props)Creates a new  ORBinstance for an applet. | 
| static ORB | init(String[] args,
    Properties props)Creates a new  ORBinstance for a standalone
 application. | 
| abstract String[] | list_initial_services()Returns a list of the initially available CORBA object references,
 such as "NameService" and "InterfaceRepository". | 
| abstract String | object_to_string(Object obj)Converts the given CORBA object reference to a string. | 
| void | perform_work()Performs an implementation-dependent unit of work if called
 by the main thread. | 
| abstract boolean | poll_next_response()Finds out if any of the deferred (asynchronous) invocations have
 a response yet. | 
| abstract Object | resolve_initial_references(String object_name)Resolves a specific object reference from the set of available
 initial service names. | 
| void | run()This operation blocks the current thread until the ORB has
 completed the shutdown process, initiated when some thread calls
  shutdown. | 
| abstract void | send_multiple_requests_deferred(Request[] req)Sends multiple dynamic (DII) requests asynchronously. | 
| abstract void | send_multiple_requests_oneway(Request[] req)Sends multiple dynamic (DII) requests asynchronously without expecting
 any responses. | 
| protected abstract void | set_parameters(Applet app,
              Properties props)Allows the ORB implementation to be initialized with the given
 applet and parameters. | 
| protected abstract void | set_parameters(String[] args,
              Properties props)Allows the ORB implementation to be initialized with the given
 parameters and properties. | 
| void | shutdown(boolean wait_for_completion)Instructs the ORB to shut down, which causes all
 object adapters to shut down, in preparation for destruction. If the wait_for_completionparameter
 is true, this operation blocks until all ORB processing (including
 processing of currently executing requests, object deactivation,
 and other object adapter operations) has completed. | 
| abstract Object | string_to_object(String str)Converts a string produced by the method  object_to_stringback to a CORBA object reference. | 
| boolean | work_pending()Returns  trueif the ORB needs the main thread to
 perform some work, andfalseif the ORB does not
 need the main thread. | 
public static ORB init()
ORB singleton object. This method always returns the
 same ORB instance, which is an instance of the class described by the
 org.omg.CORBA.ORBSingletonClass system property.
 
 This no-argument version of the method init is used primarily
 as a factory for TypeCode objects, which are used by
 Helper classes to implement the method type.
 It is also used to create Any objects that are used to
 describe union labels (as part of creating a 
 TypeCode object for a union).
 
 This method is not intended to be used by applets, and in the event
 that it is called in an applet environment, the ORB it returns
 is restricted so that it can be used only as a factory for
 TypeCode objects.  Any TypeCode objects
 it produces can be safely shared among untrusted applets.
 
 If an ORB is created using this method from an applet,
 a system exception will be thrown if
 methods other than those for
 creating TypeCode objects are invoked.
public static ORB init(String[] args, Properties props)
ORB instance for a standalone
 application.  This method may be called from applications
 only and returns a new fully functional ORB object
 each time it is called.args - command-line arguments for the application's main
             method; may be nullprops - application-specific properties; may be nullpublic static ORB init(Applet app, Properties props)
ORB instance for an applet.  This
 method may be called from applets only and returns a new
 fully-functional ORB object each time it is called.app - the applet; may be nullprops - applet-specific properties; may be nullprotected abstract void set_parameters(String[] args, Properties props)
init method to pass in its parameters.args - command-line arguments for the application's main
             method; may be nullprops - application-specific properties; may be nullprotected abstract void set_parameters(Applet app, Properties props)
init method to pass in its parameters.app - the applet; may be nullprops - applet-specific properties; may be nullpublic void connect(Object obj)
ImplBase class corresponding to the interface that is
 supported by the server. The servant must thus be a CORBA object
 reference, and inherit from org.omg.CORBA.Object.
 Servants created by the user can start receiving remote invocations
 after the method connect has been called. A servant may also be
 automatically and implicitly connected to the ORB if it is passed as
 an IDL parameter in an IDL method invocation on a non-local object,
 that is, if the servant object has to be marshalled and sent outside of the
 process address space.
 
 Calling the method connect has no effect
 when the servant object is already connected to the ORB.
 
Deprecated by the OMG in favor of the Portable Object Adapter APIs.
obj - The servant object referencepublic void destroy()
OBJECT_NOT_EXIST exception.
 Once an ORB has been destroyed, another call to init
 with the same ORBid will return a reference to a newly constructed ORB.
 If destroy is called on an ORB that has not been shut down,
 it will start the shut down process and block until the ORB has shut down
 before it destroys the ORB.
 If an application calls destroy in a thread that is currently servicing
 an invocation, the BAD_INV_ORDER system exception will be thrown
 with the OMG minor code 3, since blocking would result in a deadlock.
 For maximum portability and to avoid resource leaks, an application should
 always call shutdown and destroy
 on all ORB instances before exiting.
BAD_INV_ORDER - if the current thread is servicing an invocationpublic void disconnect(Object obj)
org.omg.CORBA.OBJECT_NOT_EXIST back to the
 remote client. Thus the object appears to be destroyed from the
 point of view of remote clients. Note, however, that local requests issued
 using the servant  directly do not
 pass through the ORB; hence, they will continue to be processed by the
 servant.
 
 Calling the method disconnect has no effect
 if the servant is not connected to the ORB.
 
Deprecated by the OMG in favor of the Portable Object Adapter APIs.
obj - The servant object to be disconnected from the ORBpublic abstract String[] list_initial_services()
String objects that represent
         the object references for CORBA services
         that are initially available with this ORBpublic abstract Object resolve_initial_references(String object_name) throws InvalidName
object_name - the name of the initial service as a stringInvalidName - if the given name is not associated with a
                         known servicepublic abstract String object_to_string(Object obj)
 The resulting String object may be stored or communicated
 in any way that a String object can be manipulated.
obj - the object reference to stringifypublic abstract Object string_to_object(String str)
object_to_string
 back to a CORBA object reference.str - the string to be converted back to an object reference.  It must
 be the result of converting an object reference to a string using the
 method object_to_string.public abstract NVList create_list(int count)
NVList with (probably) enough
 space for the specified number of NamedValue objects.
 Note that the specified size is only a hint to help with
 storage allocation and does not imply the maximum size of the list.count - suggested number of NamedValue objects for
               which to allocate spaceNVListNVListpublic NVList create_operation_list(Object oper)
NVList initialized with argument
 descriptions for the operation described in the given
 OperationDef object.  This OperationDef object
 is obtained from an Interface Repository. The arguments in the
 returned NVList object are in the same order as in the
 original IDL operation definition, which makes it possible for the list
 to be used in dynamic invocation requests.oper - the OperationDef object to use to create the listNVList object containing
 descriptions of the arguments to the method described in the given
 OperationDef objectNVListpublic abstract NamedValue create_named_value(String s, Any any, int flags)
NamedValue object
 using the given name, value, and argument mode flags.
 
 A NamedValue object serves as (1) a parameter or return
 value or (2) a context property.
 It may be used by itself or
 as an element in an NVList object.
s - the name of the NamedValue objectany - the Any value to be inserted into the
             NamedValue objectflags - the argument mode flags for the NamedValue: one of
 ARG_IN.value, ARG_OUT.value,
 or ARG_INOUT.value.NamedValue objectNamedValuepublic abstract ExceptionList create_exception_list()
ExceptionList object.ExceptionList objectpublic abstract ContextList create_context_list()
ContextList object.ContextList objectContextList, 
Contextpublic abstract Context get_default_context()
Context object.Context objectContextpublic abstract Environment create_environment()
Environment object.Environment objectEnvironmentpublic abstract OutputStream create_output_stream()
org.omg.CORBA.portable.OutputStream into which
 IDL method parameters can be marshalled during method invocation.org.omg.CORBA.portable.OutputStream objectpublic abstract void send_multiple_requests_oneway(Request[] req)
req - an array of request objectspublic abstract void send_multiple_requests_deferred(Request[] req)
req - an array of Request objectspublic abstract boolean poll_next_response()
true if there is a response available;
          false otherwisepublic abstract Request get_next_response() throws WrongTransaction
Request instance for which a response
 has been received.Request object ready with a responseWrongTransaction - if the method get_next_response
 is called from a transaction scope different
 from the one from which the original request was sent. See the
 OMG Transaction Service specification for details.public abstract TypeCode get_primitive_tc(TCKind tcKind)
TypeCode object that represents
 the given primitive IDL type.tcKind - the TCKind instance corresponding to the
                  desired primitive typeTypeCode objectpublic abstract TypeCode create_struct_tc(String id, String name, StructMember[] members)
TypeCode object representing an IDL struct.
 The TypeCode object is initialized with the given id,
 name, and members.id - the repository id for the structname - the name of the structmembers - an array describing the members of the structTypeCode object describing
              an IDL structpublic abstract TypeCode create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)
TypeCode object representing an IDL union.
 The TypeCode object is initialized with the given id,
 name, discriminator type, and members.id - the repository id of the unionname - the name of the uniondiscriminator_type - the type of the union discriminatormembers - an array describing the members of the unionTypeCode object describing
              an IDL unionpublic abstract TypeCode create_enum_tc(String id, String name, String[] members)
TypeCode object representing an IDL enum.
 The TypeCode object is initialized with the given id,
 name, and members.id - the repository id for the enumname - the name for the enummembers - an array describing the members of the enumTypeCode object describing
              an IDL enumpublic abstract TypeCode create_alias_tc(String id, String name, TypeCode original_type)
TypeCode object representing an IDL alias
 (typedef).
 The TypeCode object is initialized with the given id,
 name, and original type.id - the repository id for the aliasname - the name for the aliasoriginal_type - the TypeCode object describing the original type
          for which this is an aliasTypeCode object describing
              an IDL aliaspublic abstract TypeCode create_exception_tc(String id, String name, StructMember[] members)
TypeCode object representing an IDL exception.
 The TypeCode object is initialized with the given id,
 name, and members.id - the repository id for the exceptionname - the name for the exceptionmembers - an array describing the members of the exceptionTypeCode object describing
              an IDL exceptionpublic abstract TypeCode create_interface_tc(String id, String name)
TypeCode object representing an IDL interface.
 The TypeCode object is initialized with the given id
 and name.id - the repository id for the interfacename - the name for the interfaceTypeCode object describing
              an IDL interfacepublic abstract TypeCode create_string_tc(int bound)
TypeCode object representing a bounded IDL
 string.
 The TypeCode object is initialized with the given bound,
 which represents the maximum length of the string. Zero indicates
 that the string described by this type code is unbounded.bound - the bound for the string; cannot be negativeTypeCode object describing
              a bounded IDL stringBAD_PARAM - if bound is a negative valuepublic abstract TypeCode create_wstring_tc(int bound)
TypeCode object representing a bounded IDL
 wstring (wide string).
 The TypeCode object is initialized with the given bound,
 which represents the maximum length of the wide string. Zero indicates
 that the string described by this type code is unbounded.bound - the bound for the wstring; cannot be negativeTypeCode object describing
              a bounded IDL wstringBAD_PARAM - if bound is a negative valuepublic abstract TypeCode create_sequence_tc(int bound, TypeCode element_type)
TypeCode object representing an IDL sequence.
 The TypeCode object is initialized with the given bound and
 element type.bound - the bound for the sequence, 0 if unboundedelement_type - the TypeCode object describing the elements
          contained in the sequenceTypeCode object describing
              an IDL sequence@Deprecated public abstract TypeCode create_recursive_sequence_tc(int bound, int offset)
TypeCode object representing a
 a recursive IDL sequence.
 
 For the IDL struct Node in following code fragment,
 the offset parameter for creating its sequence would be 1:
 
    Struct Node {
        long value;
        Sequence <Node> subnodes;
    };
 bound - the bound for the sequence, 0 if unboundedoffset - the index to the enclosing TypeCode object
                  that describes the elements of this sequenceTypeCode object describing
                   a recursive sequencecreate_recursive_tc, 
create_sequence_tcpublic abstract TypeCode create_array_tc(int length, TypeCode element_type)
TypeCode object representing an IDL array.
 The TypeCode object is initialized with the given length and
 element type.length - the length of the arrayelement_type - a TypeCode object describing the type
                      of element contained in the arrayTypeCode object describing
              an IDL arraypublic TypeCode create_native_tc(String id, String name)
TypeCode object for an IDL native type.id - the logical id for the native type.name - the name of the native type.public TypeCode create_abstract_interface_tc(String id, String name)
TypeCode object for an IDL abstract interface.id - the logical id for the abstract interface type.name - the name of the abstract interface type.public TypeCode create_fixed_tc(short digits, short scale)
TypeCode object for an IDL fixed type.digits - specifies the total number of decimal digits in the number
                  and must be from 1 to 31 inclusive.scale - specifies the position of the decimal point.public TypeCode create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
TypeCode object for an IDL value type.
 The concrete_base parameter is the TypeCode for the immediate
 concrete valuetype base of the valuetype for which the TypeCode
 is being created.
 It may be null if the valuetype does not have a concrete base.id - the logical id for the value type.name - the name of the value type.type_modifier - one of the value type modifier constants:
                           VM_NONE, VM_CUSTOM, VM_ABSTRACT or VM_TRUNCATABLEconcrete_base - a TypeCode object
                           describing the concrete valuetype basemembers - an array containing the members of the value typepublic TypeCode create_recursive_tc(String id)
TypeCode object which
 serves as a placeholder for a concrete TypeCode during the process of creating
 TypeCodes which contain recursion. The id parameter specifies the repository id of
 the type for which the recursive TypeCode is serving as a placeholder. Once the
 recursive TypeCode has been properly embedded in the enclosing TypeCode which
 corresponds to the specified repository id, it will function as a normal TypeCode.
 Invoking operations on the recursive TypeCode before it has been embedded in the
 enclosing TypeCode will result in a BAD_TYPECODE exception.
 For example, the following IDL type declaration contains recursion:
    Struct Node {
        Sequence<Node> subnodes;
    };
 
 To create a TypeCode for struct Node, you would invoke the TypeCode creation operations as shown below:
 String nodeID = "IDL:Node:1.0";
 TypeCode recursiveSeqTC = orb.create_sequence_tc(0, orb.create_recursive_tc(nodeID));
 StructMember[] members = { new StructMember("subnodes", recursiveSeqTC, null) };
 TypeCode structNodeTC = orb.create_struct_tc(nodeID, "Node", members);
 
 Also note that the following is an illegal IDL type declaration:
    Struct Node {
        Node next;
    };
 
 Recursive types can only appear within sequences which can be empty. That way marshaling problems, when transmitting the struct in an Any, are avoided.
id - the logical id of the referenced typepublic TypeCode create_value_box_tc(String id, String name, TypeCode boxed_type)
TypeCode object for an IDL value box.id - the logical id for the value typename - the name of the value typeboxed_type - the TypeCode for the typepublic abstract Any create_any()
Any object initialized to
 contain a Typecode object whose kind field
 is set to TCKind.tc_null.Any object@Deprecated public Current get_current()
resolve_initial_references.Current object.
 The Current interface is used to manage thread-specific
 information for use by services such as transactions and security.Current objectCORBA package
      comments for unimplemented featurespublic void run()
shutdown. It may be used by multiple threads which
 get all notified when the ORB shuts down.public void shutdown(boolean wait_for_completion)
wait_for_completion parameter
 is true, this operation blocks until all ORB processing (including
 processing of currently executing requests, object deactivation,
 and other object adapter operations) has completed.
 If an application does this in a thread that is currently servicing
 an invocation, the BAD_INV_ORDER system exception
 will be thrown with the OMG minor code 3,
 since blocking would result in a deadlock.wait_for_completion parameter is FALSE,
 then shutdown may not have completed upon return.
 While the ORB is in the process of shutting down, the ORB operates as normal,
 servicing incoming and outgoing requests until all requests have been completed.
 Once an ORB has shutdown, only object reference management operations
 may be invoked on the ORB or any object reference obtained from it.
 An application may also invoke the destroy operation on the ORB itself.
 Invoking any other operation will throw the BAD_INV_ORDER
 system exception with the OMG minor code 4.
 The ORB.run method will return after
 shutdown has been called.
wait_for_completion - true if the call
        should block until the shutdown is complete;
        false if it should return immediatelyBAD_INV_ORDER - if the current thread is servicing
         an invocationpublic boolean work_pending()
true if the ORB needs the main thread to
 perform some work, and false if the ORB does not
 need the main thread.true if there is work pending, meaning that the ORB
         needs the main thread to perform some work; false
         if there is no work pending and thus the ORB does not need the
         main threadpublic void perform_work()
work_pending and perform_work
 can be used in
 conjunction to implement a simple polling loop that multiplexes
 the main thread among the ORB and other activities.public boolean get_service_information(short service_type,
                                       ServiceInformationHolder service_info)
service_type - a short indicating the
        service type for which information is being requestedservice_info - a ServiceInformationHolder object
        that will hold the ServiceInformation object
        produced by this methodtrue if service information is available
        for the service_type;
         false if no information for the
         requested services type is availableCORBA package
      comments for unimplemented features@Deprecated public DynAny create_dyn_any(Any value)
DynAny object from the given
 Any object.
 value - the Any object from which to create a new
        DynAny objectDynAny object created from the given
         Any objectCORBA package
      comments for unimplemented features@Deprecated public DynAny create_basic_dyn_any(TypeCode type) throws InconsistentTypeCode
DynAny object from the given
 TypeCode object.
 type - the TypeCode object from which to create a new
        DynAny objectDynAny object created from the given
         TypeCode objectInconsistentTypeCode - if the given
         TypeCode object is not consistent with the operation.CORBA package
      comments for unimplemented features@Deprecated public DynStruct create_dyn_struct(TypeCode type) throws InconsistentTypeCode
DynStruct object from the given
 TypeCode object.
 type - the TypeCode object from which to create a new
        DynStruct objectDynStruct object created from the given
         TypeCode objectInconsistentTypeCode - if the given
         TypeCode object is not consistent with the operation.CORBA package
      comments for unimplemented features@Deprecated public DynSequence create_dyn_sequence(TypeCode type) throws InconsistentTypeCode
DynSequence object from the given
 TypeCode object.
 type - the TypeCode object from which to create a new
        DynSequence objectDynSequence object created from the given
         TypeCode objectInconsistentTypeCode - if the given
         TypeCode object is not consistent with the operation.CORBA package
      comments for unimplemented features@Deprecated public DynArray create_dyn_array(TypeCode type) throws InconsistentTypeCode
DynArray object from the given
 TypeCode object.
 type - the TypeCode object from which to create a new
        DynArray objectDynArray object created from the given
         TypeCode objectInconsistentTypeCode - if the given
         TypeCode object is not consistent with the operation.CORBA package
      comments for unimplemented features@Deprecated public DynUnion create_dyn_union(TypeCode type) throws InconsistentTypeCode
DynUnion object from the given
 TypeCode object.
 type - the TypeCode object from which to create a new
        DynUnion objectDynUnion object created from the given
         TypeCode objectInconsistentTypeCode - if the given
         TypeCode object is not consistent with the operation.CORBA package
      comments for unimplemented features@Deprecated public DynEnum create_dyn_enum(TypeCode type) throws InconsistentTypeCode
DynEnum object from the given
 TypeCode object.
 type - the TypeCode object from which to create a new
        DynEnum objectDynEnum object created from the given
         TypeCode objectInconsistentTypeCode - if the given
         TypeCode object is not consistent with the operation.CORBA package
      comments for unimplemented featurespublic Policy create_policy(int type, Any val) throws PolicyError
type - the PolicyType of the policy object to
        be createdval - the value that will be used to set the initial
        state of the Policy object that is createdorg.omg.CORBA.PolicyError - when the requested
        policy is not supported or a requested initial state
        for the policy is not supported.PolicyError Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2023, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.