org.jacorb.orb
Class ORBSingleton
public
class
ORBSingleton
extends ORB
Version: $Id: ORBSingleton.java,v 1.50 2006/09/10 09:53:19 andre.spiegel Exp $
Author: Gerald Brose, FU Berlin
Constructor Summary |
protected | ORBSingleton(boolean isSingleton)
in case a singleton orb is created the c'tor will access the JacORB configuration
to configure the orb. otherwise configure needs to be called to properly set up
the created instance.
|
| ORBSingleton() |
Method Summary |
protected void | configure(Configuration configuration) |
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 name, Any value, int flags) |
TypeCode | create_native_tc(String id, String name) |
NVList | create_operation_list(OperationDef oper) |
NVList | create_operation_list(Object obj) |
OutputStream | create_output_stream() |
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) |
Logger | getLogger()
Returns the logger of this singleton ORB. |
Current | get_current() |
Context | get_default_context() |
Request | get_next_response() |
TypeCode | get_primitive_tc(TCKind tcKind) |
protected static boolean | legalNameChar(int ch)
Determine if a character is ok for the middle of an id. |
protected static boolean | legalStartChar(int character)
Determine if a character is ok to start an id.
|
String[] | list_initial_services() |
String | object_to_string(Object obj) |
void | perform_work() |
boolean | poll_next_response() |
Object | resolve_initial_references(String identifier) |
void | run() |
void | send_multiple_requests_deferred(Request[] req) |
void | send_multiple_requests_oneway(Request[] req) |
protected void | set_parameters(String[] args, Properties props) |
protected void | set_parameters(Applet app, Properties props) |
void | shutdown(boolean wait_for_completion) |
Object | string_to_object(String str) |
boolean | work_pending() |
protected ORBSingleton(boolean isSingleton)
in case a singleton orb is created the c'tor will access the JacORB configuration
to configure the orb. otherwise configure needs to be called to properly set up
the created instance.
Parameters: isSingleton determine if a singleton orb is created.
public ORBSingleton()
protected void configure(Configuration configuration)
public TypeCode create_abstract_interface_tc(String id, String name)
public TypeCode create_alias_tc(String id, String name, TypeCode original_type)
public Any create_any()
public TypeCode create_array_tc(int length, TypeCode element_type)
public ContextList create_context_list()
public TypeCode create_enum_tc(String id, String name, String[] members)
public Environment create_environment()
public ExceptionList create_exception_list()
public TypeCode create_exception_tc(String id, String name, StructMember[] members)
public TypeCode create_fixed_tc(short digits, short scale)
public TypeCode create_interface_tc(String id, String name)
public NVList create_list(int count)
public TypeCode create_local_interface_tc(String id, String name)
public NamedValue create_named_value(String name, Any value, int flags)
public TypeCode create_native_tc(String id, String name)
public NVList create_operation_list(OperationDef oper)
public NVList create_operation_list(Object obj)
public OutputStream create_output_stream()
public TypeCode create_recursive_tc(String id)
public TypeCode create_sequence_tc(int bound, TypeCode element_type)
public TypeCode create_string_tc(int bound)
public TypeCode create_struct_tc(String id, String name, StructMember[] members)
public TypeCode create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)
public TypeCode create_value_box_tc(String id, String name, TypeCode boxed_type)
public TypeCode create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)
public TypeCode create_wstring_tc(int bound)
public Logger getLogger()
Returns the logger of this singleton ORB. Used for testing.
public Current get_current()
public Context get_default_context()
public Request get_next_response()
public TypeCode get_primitive_tc(TCKind tcKind)
protected static final boolean legalNameChar(int ch)
Determine if a character is ok for the middle of an id.
Parameters: ch the character in question.
protected static final boolean legalStartChar(int character)
Determine if a character is ok to start an id.
(Note that '_' is allowed here - it might have
been inserted by the IDL compiler to avoid clashes
with reserved Java identifiers )
Parameters: character the character in question.
public String[] list_initial_services()
public String object_to_string(Object obj)
public void perform_work()
public boolean poll_next_response()
public Object resolve_initial_references(String identifier)
public void run()
public void send_multiple_requests_deferred(Request[] req)
public void send_multiple_requests_oneway(Request[] req)
protected void set_parameters(String[] args, Properties props)
protected void set_parameters(Applet app, Properties props)
public void shutdown(boolean wait_for_completion)
public Object string_to_object(String str)
public boolean work_pending()