Constructor and Description |
---|
ORB() |
Modifier and Type | Method and Description |
---|---|
void |
register_initial_reference(String id,
Object obj)
If this operation is called with an id,
"Y" , and an object, YY , then a subsequent call
to ORB.resolve_initial_references( "Y" ) will return object YY . |
get_value_def, lookup_value_factory, register_value_factory, set_delegate, unregister_value_factory
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
public void register_initial_reference(String id, Object obj) throws InvalidName
"Y"
, and an object, YY
, then a subsequent call
to ORB.resolve_initial_references( "Y" )
will return object YY
.id
- The ID by which the initial reference will be known.obj
- The initial reference itself.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.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.