org.omg.CORBA_2_3

Class ORB

Known Direct Subclasses:
OrbRestricted

public abstract class ORB
extends ORB

This class should provide the ORB) ORB extensions, defined in the OMG CORBA version 2.3 specification. However in the Sun's API specification is written that this functionality is not implemented at least at least till 1.4 inclusive.

Method Summary

Object
get_value_def(String repository_id)
Should return a defintion of the value type as described in the interface repository.
ValueFactory
lookup_value_factory(String repository_id)
This should find a suitable value factory to create an instance of the value type when is being read (unmarshaled) from the stream.
ValueFactory
register_value_factory(String repository_id, ValueFactory factory)
This should register the given value factory under the given repository id.
void
set_delegate(Object wrapper)
This method is called by RMI-IIOP Tie.orb(ORB), passing this as parameter.
void
unregister_value_factory(String repository_id)
This should unregister the given value factory under the given repository id.

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

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Method Details

get_value_def

public Object get_value_def(String repository_id)
            throws BAD_PARAM
Should return a defintion of the value type as described in the interface repository.
Parameters:
repository_id - a value type repository id.
Returns:
never
Throws:
BAD_PARAM - never
See Also:
ValueBase

lookup_value_factory

public ValueFactory lookup_value_factory(String repository_id)
This should find a suitable value factory to create an instance of the value type when is being read (unmarshaled) from the stream.
Parameters:
repository_id - a repository id
Returns:
never

register_value_factory

public ValueFactory register_value_factory(String repository_id,
                                           ValueFactory factory)
This should register the given value factory under the given repository id.
Parameters:
repository_id - a repository id
Returns:
never

set_delegate

public void set_delegate(Object wrapper)
This method is called by RMI-IIOP Tie.orb(ORB), passing this as parameter. The ORB will try to connect that tie as one of its objects.

unregister_value_factory

public void unregister_value_factory(String repository_id)
This should unregister the given value factory under the given repository id.
Parameters:
repository_id - a repository id

ORB.java -- Copyright (C) 2005, 2006 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.