API Overview API Index Package Overview Direct link to this page
JDK 1.6
  org.omg.CORBA. ORB View Source
Author(s)
Since
JDK1.2
Version
1.70, 09/09/97
Serial
Hierarchy
 Object
      ORB
Implements
Subclasses
 ORB
Description
publicabstract abstract class ORB
  A class providing APIs for the CORBA Object Request Broker features.
See also:   
Constructors
public ORB ()
Methods
Hide/Show inherited methods
public void connect (Object obj)
  Connects the given servant object (a Java object that is an instance of the server implementation class) to the ORB.
public TypeCode create_abstract_interface_tc (String id, String name)
  Create a TypeCode object for an IDL abstract interface.
publicabstract TypeCode create_alias_tc (String id, String name, TypeCode original_type)
  Creates a TypeCode object representing an IDL alias (typedef).
publicabstract Any create_any ()
  Creates an IDL Any object initialized to contain a Typecode object whose kind field is set to TCKind.tc_null.
publicabstract TypeCode create_array_tc (int length, TypeCode element_type)
  Creates a TypeCode object representing an IDL array.
@Deprecated
public DynAny create_basic_dyn_any (TypeCode type) throws InconsistentTypeCode
  Creates a basic DynAny object from the given TypeCode object.
publicabstract ContextList create_context_list ()
  Creates an empty ContextList object.
@Deprecated
public DynAny create_dyn_any (Any value)
  Creates a new DynAny object from the given Any object.
@Deprecated
public DynArray create_dyn_array (TypeCode type) throws InconsistentTypeCode
  Creates a new DynArray object from the given TypeCode object.
@Deprecated
public DynEnum create_dyn_enum (TypeCode type) throws InconsistentTypeCode
  Creates a new DynEnum object from the given TypeCode object.
@Deprecated
public DynSequence create_dyn_sequence (TypeCode type) throws InconsistentTypeCode
  Creates a new DynSequence object from the given TypeCode object.
@Deprecated
public DynStruct create_dyn_struct (TypeCode type) throws InconsistentTypeCode
  Creates a new DynStruct object from the given TypeCode object.
@Deprecated
public DynUnion create_dyn_union (TypeCode type) throws InconsistentTypeCode
  Creates a new DynUnion object from the given TypeCode object.
publicabstract TypeCode create_enum_tc (String id, String name, String members)
  Creates a TypeCode object representing an IDL enum.
publicabstract Environment create_environment ()
  Creates an Environment object.
publicabstract ExceptionList create_exception_list ()
  Creates an empty ExceptionList object.
publicabstract TypeCode create_exception_tc (String id, String name, StructMember members)
  Creates a TypeCode object representing an IDL exception.
public TypeCode create_fixed_tc (short digits, short scale)
  Create a TypeCode object for an IDL fixed type.
publicabstract TypeCode create_interface_tc (String id, String name)
  Creates a TypeCode object representing an IDL interface.
publicabstract NVList create_list (int count)
  Allocates an NVList with (probably) enough space for the specified number of NamedValue objects.
publicabstract NamedValue create_named_value (String s, Any any, int flags)
  Creates a NamedValue object using the given name, value, and argument mode flags.
public TypeCode create_native_tc (String id, String name)
  Create a TypeCode object for an IDL native type.
public NVList create_operation_list (Object oper)
  Creates an NVList initialized with argument descriptions for the operation described in the given OperationDef object.
publicabstract OutputStream create_output_stream ()
  Creates a new org.omg.CORBA.portable.OutputStream into which IDL method parameters can be marshalled during method invocation.
public Policy create_policy (int type, Any val) throws PolicyError
  Can be invoked to create new instances of policy objects of a specific type with specified initial state.
@Deprecated
publicabstract TypeCode create_recursive_sequence_tc (int bound, int offset)
  Creates a TypeCode object representing a a recursive IDL sequence.
public TypeCode create_recursive_tc (String id)
  Create a recursive TypeCode object which serves as a placeholder for a concrete TypeCode during the process of creating TypeCodes which contain recursion.
publicabstract TypeCode create_sequence_tc (int bound, TypeCode element_type)
  Creates a TypeCode object representing an IDL sequence.
publicabstract TypeCode create_string_tc (int bound)
  Creates a TypeCode object representing a bounded IDL string.
publicabstract TypeCode create_struct_tc (String id, String name, StructMember members)
  Creates a TypeCode object representing an IDL struct.
publicabstract TypeCode create_union_tc (String id, String name, TypeCode discriminator_type, UnionMember members)
  Creates a TypeCode object representing an IDL union.
public TypeCode create_value_box_tc (String id, String name, TypeCode boxed_type)
  Creates a TypeCode object for an IDL value box.
public TypeCode create_value_tc (String id, String name, short type_modifier, TypeCode concrete_base, ValueMember members)
  Create a TypeCode object for an IDL value type.
publicabstract TypeCode create_wstring_tc (int bound)
  Creates a TypeCode object representing a bounded IDL wstring (wide string).
public void destroy ()
  Destroys the ORB so that its resources can be reclaimed.
public void disconnect (Object obj)
  Disconnects the given servant object from the ORB.
@Deprecated
public Current get_current ()
  Retrieves a Current object.
publicabstract Context get_default_context ()
  Gets the default Context object.
publicabstract Request get_next_response () throws WrongTransaction
  Gets the next Request instance for which a response has been received.
publicabstract TypeCode get_primitive_tc (TCKind tcKind)
  Retrieves the TypeCode object that represents the given primitive IDL type.
public 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.
publicstaticsynchronized ORB init ()
  Returns the ORB singleton object.
publicstatic ORB init (Applet app, Properties props)
  Creates a new ORB instance for an applet.
publicstatic ORB init (String args, Properties props)
  Creates a new ORB instance for a standalone application.
publicabstract String list_initial_services ()
  Returns a list of the initially available CORBA object references, such as "NameService" and "InterfaceRepository".
publicabstract String object_to_string (Object obj)
  Converts the given CORBA object reference to a string.
public void perform_work ()
  Performs an implementation-dependent unit of work if called by the main thread.
publicabstract boolean poll_next_response ()
  Finds out if any of the deferred (asynchronous) invocations have a response yet.
publicabstract Object resolve_initial_references (String object_name) throws InvalidName
  Resolves a specific object reference from the set of available initial service names.
public void run ()
  This operation blocks the current thread until the ORB has completed the shutdown process, initiated when some thread calls shutdown.
publicabstract void send_multiple_requests_deferred (Request req)
  Sends multiple dynamic (DII) requests asynchronously.
publicabstract void send_multiple_requests_oneway (Request req)
  Sends multiple dynamic (DII) requests asynchronously without expecting any responses.
protectedabstract void set_parameters (Applet app, Properties props)
  Allows the ORB implementation to be initialized with the given applet and parameters.
protectedabstract void set_parameters (String args, Properties props)
  Allows the ORB implementation to be initialized with the given parameters and properties.
public 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_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.
publicabstract Object string_to_object (String str)
  Converts a string produced by the method object_to_string back to a CORBA object reference.
public boolean work_pending ()
  Returns true if the ORB needs the main thread to perform some work, and false if the ORB does not need the main thread.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar