org.omg.CORBA

Class ORB

Known Direct Subclasses:
ORB

public abstract class ORB
extends java.lang.Object

This class is specifed by the mapping as abstract. A "dummy" implementation is provided so that the "official" org.omg.* packages may be compiled. ORB-vendors shall provide a complete implementation of the class by extending it with a vendor-specific class which provides "real" implementations for all the methods. E.g. package com.acme_orb_vendor.CORBA; public class ORB extends org.omg.CORBA { ... } In order to be conformant the class shall support the signatures specified here, but will have an orb-specific implementation. The class may support additional vendor specific functionality.

Method Summary

void
connect(Object obj)
TypeCode
create_abstract_interface_tc(String id, String name)
TypeCode
create_alias_tc(String id, String name, TypeCode original_type)
Any
create_any()
TypeCode
create_array_tc(int length, TypeCode element_type)
ContextList
create_context_list()
TypeCode
create_enum_tc(String id, String name, String[] members)
Environment
create_environment()
ExceptionList
create_exception_list()
TypeCode
create_exception_tc(String id, String name, StructMember[] members)
TypeCode
create_fixed_tc(short digits, short scale)
TypeCode
create_interface_tc(String id, String name)
NVList
create_list(int count)
TypeCode
create_local_interface_tc(String id, String name)
NamedValue
create_named_value(String s, Any any, int flags)
TypeCode
create_native_tc(String id, String name)
NVList
create_operation_list(Object oper)
NVList
create_operation_list(OperationDef oper)
OutputStream
create_output_stream()
Policy
create_policy(int type, Any val)
TypeCode
create_recursive_sequence_tc(int bound, int offset)
TypeCode
create_recursive_tc(String id)
TypeCode
create_sequence_tc(int bound, TypeCode element_type)
TypeCode
create_string_tc(int bound)
TypeCode
create_struct_tc(String id, String name, StructMember[] members)
TypeCode
create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)
TypeCode
create_value_box_tc(String id, String name, TypeCode boxed_type)
TypeCode
create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
TypeCode
create_wstring_tc(int bound)
void
destroy()
void
disconnect(Object obj)
Current
get_current()
Context
get_default_context()
Request
get_next_response()
TypeCode
get_primitive_tc(TCKind tcKind)
boolean
get_service_information(short service_type, ServiceInformationHolder service_info)
static ORB
init()
static ORB
init(String[] args, java.util.Properties props)
static ORB
init(java.applet.Applet applet, java.util.Properties props)
String[]
list_initial_services()
String
object_to_string(Object obj)
void
perform_work()
boolean
poll_next_response()
Object
resolve_initial_references(String object_name)
void
run()
void
send_multiple_requests_deferred(Request req)
void
send_multiple_requests_oneway(Request req)
protected void
set_parameters(String[] args, java.util.Properties props)
protected void
set_parameters(java.applet.Applet app, java.util.Properties props)
void
shutdown(boolean wait_for_completion)
Object
string_to_object(String str)
boolean
work_pending()

Method Details

connect

public void connect(Object obj)


create_abstract_interface_tc

public TypeCode create_abstract_interface_tc(String id,
                                             String name)


create_alias_tc

public TypeCode create_alias_tc(String id,
                                String name,
                                TypeCode original_type)


create_any

public Any create_any()


create_array_tc

public TypeCode create_array_tc(int length,
                                TypeCode element_type)


create_context_list

public ContextList create_context_list()


create_enum_tc

public TypeCode create_enum_tc(String id,
                               String name,
                               String[] members)


create_environment

public Environment create_environment()


create_exception_list

public ExceptionList create_exception_list()


create_exception_tc

public TypeCode create_exception_tc(String id,
                                    String name,
                                    StructMember[] members)


create_fixed_tc

public TypeCode create_fixed_tc(short digits,
                                short scale)


create_interface_tc

public TypeCode create_interface_tc(String id,
                                    String name)


create_list

public NVList create_list(int count)


create_local_interface_tc

public TypeCode create_local_interface_tc(String id,
                                          String name)


create_named_value

public NamedValue create_named_value(String s,
                                     Any any,
                                     int flags)


create_native_tc

public TypeCode create_native_tc(String id,
                                 String name)


create_operation_list

public NVList create_operation_list(Object oper)


create_operation_list

public NVList create_operation_list(OperationDef oper)


create_output_stream

public OutputStream create_output_stream()


create_policy

public Policy create_policy(int type,
                            Any val)
            throws PolicyError


create_recursive_sequence_tc

public TypeCode create_recursive_sequence_tc(int bound,
                                             int offset)


create_recursive_tc

public TypeCode create_recursive_tc(String id)


create_sequence_tc

public TypeCode create_sequence_tc(int bound,
                                   TypeCode element_type)


create_string_tc

public TypeCode create_string_tc(int bound)


create_struct_tc

public TypeCode create_struct_tc(String id,
                                 String name,
                                 StructMember[] members)


create_union_tc

public TypeCode create_union_tc(String id,
                                String name,
                                TypeCode discriminator_type,
                                UnionMember[] members)


create_value_box_tc

public TypeCode create_value_box_tc(String id,
                                    String name,
                                    TypeCode boxed_type)


create_value_tc

public TypeCode create_value_tc(String id,
                                String name,
                                short type_modifier,
                                TypeCode concrete_base,
                                ValueMember[] members)


create_wstring_tc

public TypeCode create_wstring_tc(int bound)


destroy

public void destroy()


disconnect

public void disconnect(Object obj)


get_current

public Current get_current()


get_default_context

public Context get_default_context()


get_next_response

public Request get_next_response()
            throws WrongTransaction


get_primitive_tc

public TypeCode get_primitive_tc(TCKind tcKind)


get_service_information

public boolean get_service_information(short service_type,
                                       ServiceInformationHolder service_info)


init

public static ORB init()


init

public static ORB init(String[] args,
                       java.util.Properties props)


init

public static ORB init(java.applet.Applet applet,
                       java.util.Properties props)


list_initial_services

public String[] list_initial_services()


object_to_string

public String object_to_string(Object obj)


perform_work

public void perform_work()


poll_next_response

public boolean poll_next_response()


resolve_initial_references

public Object resolve_initial_references(String object_name)
            throws InvalidName


run

public void run()


send_multiple_requests_deferred

public void send_multiple_requests_deferred(Request req)


send_multiple_requests_oneway

public void send_multiple_requests_oneway(Request req)


set_parameters

protected void set_parameters(String[] args,
                              java.util.Properties props)


set_parameters

protected void set_parameters(java.applet.Applet app,
                              java.util.Properties props)


shutdown

public void shutdown(boolean wait_for_completion)


string_to_object

public Object string_to_object(String str)


work_pending

public boolean work_pending()