Package com.sun.corba.ee.org.omg.CORBA
Class ORB
java.lang.Object
org.omg.CORBA.ORB
org.omg.CORBA_2_3.ORB
com.sun.corba.ee.org.omg.CORBA.ORB
- Direct Known Subclasses:
ORB
This ORB class is defined to provide a home for the
register_initial_reference operation, which is added by
portable interceptors and CORBA 2.4. It is added here
until there is an official Java language mapping for the
method.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
register_initial_reference
(String id, Object obj) If this operation is called with an id,"Y"
, and an object,YY
, then a subsequent call toORB.resolve_initial_references( "Y" )
will return objectYY
.Methods inherited from class org.omg.CORBA_2_3.ORB
get_value_def, lookup_value_factory, register_value_factory, set_delegate, unregister_value_factory
Methods inherited from class org.omg.CORBA.ORB
connect, create_abstract_interface_tc, create_alias_tc, create_any, create_array_tc, create_basic_dyn_any, create_context_list, create_dyn_any, create_dyn_array, create_dyn_enum, create_dyn_sequence, create_dyn_struct, create_dyn_union, create_enum_tc, create_environment, create_exception_list, create_exception_tc, create_fixed_tc, create_interface_tc, create_list, create_named_value, create_native_tc, create_operation_list, create_output_stream, create_policy, create_recursive_sequence_tc, create_recursive_tc, create_sequence_tc, create_string_tc, create_struct_tc, create_union_tc, create_value_box_tc, create_value_tc, create_wstring_tc, destroy, disconnect, get_current, get_default_context, get_next_response, get_primitive_tc, get_service_information, init, init, init, list_initial_services, object_to_string, perform_work, poll_next_response, resolve_initial_references, run, send_multiple_requests_deferred, send_multiple_requests_oneway, set_parameters, set_parameters, shutdown, string_to_object, work_pending
-
Constructor Details
-
ORB
public ORB()
-
-
Method Details
-
register_initial_reference
If this operation is called with an id,"Y"
, and an object,YY
, then a subsequent call toORB.resolve_initial_references( "Y" )
will return objectYY
.- Parameters:
id
- The ID by which the initial reference will be known.obj
- The initial reference itself.- Throws:
InvalidName
- if this operation is called with an empty string id or this operation is called with an id that is already registered, including the default names defined by OMG.BAD_PARAM
- if the obj parameter is null.
-