| java.lang.Object org.omg.CORBA.ORB org.omg.CORBA_2_3.ORB org.omg.CORBA_2_5.ORB org.jacorb.orb.ORBSingleton org.jacorb.orb.ORB
Constructor Summary | |
public | ORB() |
Method Summary | |
public synchronized org.omg.CORBA.Object | _getObject(ParsedIOR pior) This version of _getObject is used for references that have
arrived over the network and is called from CDRInputStream. | synchronized void | _release(String iorString) Take a string rather then a Delegate object to prevent data race
warning. | public void | addObjectKey(String key_name, String full_path) addObjectKey is a proprietary method that allows the
internal objectKeyMap to be altered programmatically. | public void | addRequest(org.omg.CORBA.Request req) | public void | configure(Configuration config) | public void | connect(org.omg.CORBA.Object obj) | public ProtocolAddressBase | createAddress(String address) | org.omg.IOP.IOR | createIOR(String repId, byte[] objectKey, boolean _transient, org.jacorb.poa.POA poa, Map policy_overrides) | public org.omg.CORBA.ContextList | create_context_list() | public org.omg.CORBA.Environment | create_environment() | public org.omg.CORBA.ExceptionList | create_exception_list() | public org.omg.CORBA.NVList | create_list(int count) | public org.omg.CORBA.NamedValue | create_named_value(String name, org.omg.CORBA.Any value, int flags) | public org.omg.CORBA.NVList | create_operation_list(org.omg.CORBA.Object obj) | public org.omg.CORBA.NVList | create_operation_list(org.omg.CORBA.OperationDef oper) | public org.omg.CORBA.portable.OutputStream | create_output_stream() | public org.omg.CORBA.Policy | create_policy(int type, org.omg.CORBA.Any value) This method creates a policy with the given type and the given
value. | public void | destroy() | public void | disconnect(org.omg.CORBA.Object obj) | org.jacorb.poa.POA | findPOA(org.jacorb.orb.Delegate d, org.omg.CORBA.Object ref) Find a local POA for a delegate (called from is_local())
returns non-null only if a root POA is already activated
and all POAs along the path on the poa name are active, i.e. | public org.jacorb.orb.BasicAdapter | getBasicAdapter() | public BoxedValueHelper | getBoxedValueHelper(String repId) Returns a BoxedValueHelper for the type specified by repId, or
null if no such BoxedValueHelper can be found. | public ClientConnectionManager | getClientConnectionManager() | public org.jacorb.config.Configuration | getConfiguration() Some parts of JacORB cannot be elegantly configured from the outside
and need access to the ORB's configuration retrieve config settings. | public synchronized GIOPConnectionManager | getGIOPConnectionManager() | public String | getImplName() | public org.jacorb.orb.portableInterceptor.InterceptorManager | getInterceptorManager() Get the InterceptorManager, if present. | public synchronized org.jacorb.poa.Current | getPOACurrent() | PolicyManager | getPolicyManager() Returns the PolicyManager for ORB-wide policies. | public org.omg.CORBA.Object | getReference(org.jacorb.poa.POA poa, byte[] object_key, String rep_id, boolean _transient) | public synchronized org.jacorb.poa.POA | getRootPOA() | public byte[] | getServerId() | public String | getServerIdString() | public synchronized TransportManager | getTransportManager() | public org.omg.CORBA.Context | get_default_context() | public org.omg.CORBA.Request | get_next_response() | public boolean | get_service_information(short service_type, org.omg.CORBA.ServiceInformationHolder service_information) | public org.omg.CORBA.Object | get_value_def(String repid) | public boolean | hasClientRequestInterceptors() Test, if the ORB has ClientRequestInterceptors
Called by Delegate. | public boolean | hasPolicyFactoryForType(int type) Tests if a policy factory is present for the given type. | public boolean | hasRequestInterceptors() Test, if the ORB has client or server side interceptors. | public boolean | hasServerRequestInterceptors() Test, if the ORB has ServerRequestInterceptors
Called by poa.RequestProcessor. | public String | id() | boolean | isRunning() | public String[] | list_initial_services() | public ValueFactory | lookup_value_factory(String id) | public byte[] | mapObjectKey(byte[] originalKey) Map an object key to another, as defined by the value
of a corresponding configuration property in the properties
file, e.g. | public RPPoolManager | newRPPoolManager(boolean isSingleThreaded) | public void | notifyTransportListeners(GIOPConnection gc) | public String | object_to_string(org.omg.CORBA.Object obj) | public void | perform_work() | public void | poaCreated(org.jacorb.poa.POA poa) An operation from the POAListener interface. | public void | poaStateChanged(org.jacorb.poa.POA poa, int new_state) | public boolean | poll_next_response() | public void | referenceCreated(org.omg.CORBA.Object o) | public void | register_initial_reference(String id, org.omg.CORBA.Object obj) Register a reference, that will be returned on subsequent calls
to resove_initial_references(id). | public ValueFactory | register_value_factory(String id, ValueFactory factory) | public void | removeRequest(org.omg.CORBA.Request req) | public org.omg.CORBA.Object | resolve_initial_references(String identifier) | public void | run() | public void | send_multiple_requests_deferred(org.omg.CORBA.Request[] req) | public void | send_multiple_requests_oneway(org.omg.CORBA.Request[] req) | public void | set_delegate(java.lang.Object wrapper) | protected void | set_parameters(String[] args, java.util.Properties props) called from ORB.init(), entry point for initialization. | protected void | set_parameters(java.applet.Applet app, java.util.Properties props) | public void | shutdown(boolean wait_for_completion) | public org.omg.CORBA.Object | string_to_object(String str) | public void | turnOnBiDirGIOP() | public void | unregister_value_factory(String id) | public boolean | useBiDirGIOP() | public boolean | work_pending() |
_getObject | public synchronized org.omg.CORBA.Object _getObject(ParsedIOR pior)(Code) | | This version of _getObject is used for references that have
arrived over the network and is called from CDRInputStream. It
removes stale cache entries
|
_release | synchronized void _release(String iorString)(Code) | | Take a string rather then a Delegate object to prevent data race
warning.
|
addObjectKey | public void addObjectKey(String key_name, String full_path)(Code) | | addObjectKey is a proprietary method that allows the
internal objectKeyMap to be altered programmatically. The objectKeyMap
allows more readable corbaloc URLs by mapping the actual object key to
an arbitary string. See the jacorb.properties file for more information.
Parameters: key_name - a String value e.g. NameService Parameters: full_path - an String value e.g. file:/home/rnc/NameSingleton.ior |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | configure the ORB
|
destroy | public void destroy()(Code) | | |
getBoxedValueHelper | public BoxedValueHelper getBoxedValueHelper(String repId)(Code) | | Returns a BoxedValueHelper for the type specified by repId, or
null if no such BoxedValueHelper can be found. This method uses an
internal cache of BoxedValueHelpers so that each class needs only
be looked up once.
Parameters: repId - the repository id of the type for which a BoxedValueHelpershould be returned. It is assumed that repId is the repository id of aboxed value type. Otherwise, the result will be null. an instance of the BoxedValueHelper class that correspondsto repId. |
getConfiguration | public org.jacorb.config.Configuration getConfiguration()(Code) | | Some parts of JacORB cannot be elegantly configured from the outside
and need access to the ORB's configuration retrieve config settings.
This method should only be used in those restricted cases!
|
getPolicyManager | PolicyManager getPolicyManager()(Code) | | Returns the PolicyManager for ORB-wide policies. A PolicyManager
is only created if it is accessed via resolve_initial_references().
If no PolicyManager has been created yet, this method returns null.
|
getReference | public org.omg.CORBA.Object getReference(org.jacorb.poa.POA poa, byte[] object_key, String rep_id, boolean _transient)(Code) | | called by POA to create an IOR
Parameters: poa - the calling POA Parameters: object_key - Parameters: rep_id - Parameters: _transient - is the new reference transient or persistent a new CORBA Object reference |
getServerId | public byte[] getServerId()(Code) | | |
hasClientRequestInterceptors | public boolean hasClientRequestInterceptors()(Code) | | Test, if the ORB has ClientRequestInterceptors
Called by Delegate.
|
hasPolicyFactoryForType | public boolean hasPolicyFactoryForType(int type)(Code) | | Tests if a policy factory is present for the given type.
|
hasRequestInterceptors | public boolean hasRequestInterceptors()(Code) | | Test, if the ORB has client or server side interceptors.
|
hasServerRequestInterceptors | public boolean hasServerRequestInterceptors()(Code) | | Test, if the ORB has ServerRequestInterceptors
Called by poa.RequestProcessor.
|
id | public String id()(Code) | | Overrides id() in org.omg.CORBA_2_5.ORB
|
isRunning | boolean isRunning()(Code) | | |
list_initial_services | public String[] list_initial_services()(Code) | | |
mapObjectKey | public byte[] mapObjectKey(byte[] originalKey)(Code) | | Map an object key to another, as defined by the value
of a corresponding configuration property in the properties
file, e.g. map "NameService" to "StandardNS/NameServer-POA/_root"
Parameters: originalKey - a byte[] value containing the originalkey. a byte[] value containing the mapped key, if amapping is defined, originalKey otherwise. |
perform_work | public void perform_work()(Code) | | |
poaCreated | public void poaCreated(org.jacorb.poa.POA poa)(Code) | | An operation from the POAListener interface. Whenever a new POA is
created, the ORB is notified.
|
poll_next_response | public boolean poll_next_response()(Code) | | |
register_initial_reference | public void register_initial_reference(String id, org.omg.CORBA.Object obj) throws InvalidName(Code) | | Register a reference, that will be returned on subsequent calls
to resove_initial_references(id).
The references "RootPOA", "POACurrent" and "PICurrent" can be set,
but will not be resolved with the passed in references.
Overrides register_initial_reference() in org.omg.CORBA_2_5.ORB
Parameters: id - The references human-readable id, e.g. "MyService". Parameters: obj - The objects reference. exception: InvalidName - A reference with id has already been registered. |
set_delegate | public void set_delegate(java.lang.Object wrapper)(Code) | | called by org.jacorb.poa.RequestProcessor
|
shutdown | public void shutdown(boolean wait_for_completion)(Code) | | |
turnOnBiDirGIOP | public void turnOnBiDirGIOP()(Code) | | |
unregister_value_factory | public void unregister_value_factory(String id)(Code) | | |
useBiDirGIOP | public boolean useBiDirGIOP()(Code) | | |
work_pending | public boolean work_pending()(Code) | | |
Methods inherited from org.jacorb.orb.ORBSingleton | protected void configure(Configuration configuration) throws ConfigurationException(Code)(Java Doc) public org.omg.CORBA.TypeCode create_abstract_interface_tc(String id, String name)(Code)(Java Doc) public TypeCode create_alias_tc(String id, String name, TypeCode original_type)(Code)(Java Doc) public org.omg.CORBA.Any create_any()(Code)(Java Doc) public TypeCode create_array_tc(int length, TypeCode element_type)(Code)(Java Doc) public org.omg.CORBA.ContextList create_context_list()(Code)(Java Doc) public TypeCode create_enum_tc(String id, String name, String[] members)(Code)(Java Doc) TypeCode create_enum_tc(String id, String name, String[] members, boolean checkName)(Code)(Java Doc) public org.omg.CORBA.Environment create_environment()(Code)(Java Doc) public org.omg.CORBA.ExceptionList create_exception_list()(Code)(Java Doc) public TypeCode create_exception_tc(String id, String name, org.omg.CORBA.StructMember[] members)(Code)(Java Doc) TypeCode create_exception_tc(String id, String name, org.omg.CORBA.StructMember[] members, boolean checkName)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_fixed_tc(short digits, short scale)(Code)(Java Doc) public TypeCode create_interface_tc(String id, String name)(Code)(Java Doc) public org.omg.CORBA.NVList create_list(int count)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_local_interface_tc(String id, String name)(Code)(Java Doc) public org.omg.CORBA.NamedValue create_named_value(String name, org.omg.CORBA.Any value, int flags)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_native_tc(String id, String name)(Code)(Java Doc) public org.omg.CORBA.NVList create_operation_list(org.omg.CORBA.OperationDef oper)(Code)(Java Doc) public org.omg.CORBA.NVList create_operation_list(org.omg.CORBA.Object obj)(Code)(Java Doc) public org.omg.CORBA.portable.OutputStream create_output_stream()(Code)(Java Doc) public org.omg.CORBA.TypeCode create_recursive_tc(String id)(Code)(Java Doc) public TypeCode create_sequence_tc(int bound, TypeCode element_type)(Code)(Java Doc) public TypeCode create_string_tc(int bound)(Code)(Java Doc) public TypeCode create_struct_tc(String id, String name, org.omg.CORBA.StructMember[] members)(Code)(Java Doc) TypeCode create_struct_tc(String id, String name, org.omg.CORBA.StructMember[] members, boolean checkName)(Code)(Java Doc) public TypeCode create_union_tc(String id, String name, TypeCode discriminator_type, org.omg.CORBA.UnionMember[] members)(Code)(Java Doc) TypeCode create_union_tc(String id, String name, TypeCode discriminator_type, org.omg.CORBA.UnionMember[] members, boolean checkName)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_value_box_tc(String id, String name, TypeCode boxed_type)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, org.omg.CORBA.ValueMember[] members)(Code)(Java Doc) public TypeCode create_wstring_tc(int bound)(Code)(Java Doc) public Logger getLogger()(Code)(Java Doc) public org.omg.CORBA.Current get_current()(Code)(Java Doc) public org.omg.CORBA.Context get_default_context()(Code)(Java Doc) public org.omg.CORBA.Request get_next_response()(Code)(Java Doc) public TypeCode get_primitive_tc(org.omg.CORBA.TCKind tcKind)(Code)(Java Doc) final protected static boolean legalNameChar(int ch)(Code)(Java Doc) final protected static boolean legalStartChar(int character)(Code)(Java Doc) public String[] list_initial_services()(Code)(Java Doc) public String object_to_string(org.omg.CORBA.Object obj)(Code)(Java Doc) public void perform_work()(Code)(Java Doc) public boolean poll_next_response()(Code)(Java Doc) public org.omg.CORBA.Object resolve_initial_references(String identifier) throws org.omg.CORBA.ORBPackage.InvalidName(Code)(Java Doc) public void run()(Code)(Java Doc) public void send_multiple_requests_deferred(org.omg.CORBA.Request[] req)(Code)(Java Doc) public void send_multiple_requests_oneway(org.omg.CORBA.Request[] req)(Code)(Java Doc) protected void set_parameters(String[] args, java.util.Properties props)(Code)(Java Doc) protected void set_parameters(java.applet.Applet app, java.util.Properties props)(Code)(Java Doc) public void shutdown(boolean wait_for_completion)(Code)(Java Doc) public org.omg.CORBA.Object string_to_object(String str)(Code)(Java Doc) public boolean work_pending()(Code)(Java Doc)
|
Methods inherited from org.omg.CORBA.ORB | public void connect(org.omg.CORBA.Object obj)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_abstract_interface_tc(String id, String name)(Code)(Java Doc) abstract public TypeCode create_alias_tc(String id, String name, TypeCode original_type)(Code)(Java Doc) abstract public Any create_any()(Code)(Java Doc) abstract public TypeCode create_array_tc(int length, TypeCode element_type)(Code)(Java Doc) abstract public ContextList create_context_list()(Code)(Java Doc) abstract public TypeCode create_enum_tc(String id, String name, String[] members)(Code)(Java Doc) abstract public Environment create_environment()(Code)(Java Doc) abstract public ExceptionList create_exception_list()(Code)(Java Doc) abstract public TypeCode create_exception_tc(String id, String name, StructMember[] members)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_fixed_tc(short digits, short scale)(Code)(Java Doc) abstract public TypeCode create_interface_tc(String id, String name)(Code)(Java Doc) abstract public NVList create_list(int count)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_local_interface_tc(String id, String name)(Code)(Java Doc) abstract public NamedValue create_named_value(String s, Any any, int flags)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_native_tc(String id, String name)(Code)(Java Doc) public NVList create_operation_list(org.omg.CORBA.Object oper)(Code)(Java Doc) abstract public org.omg.CORBA.portable.OutputStream create_output_stream()(Code)(Java Doc) public org.omg.CORBA.Policy create_policy(int type, org.omg.CORBA.Any val) throws org.omg.CORBA.PolicyError(Code)(Java Doc) abstract public TypeCode create_recursive_sequence_tc(int bound, int offset)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_recursive_tc(String id)(Code)(Java Doc) abstract public TypeCode create_sequence_tc(int bound, TypeCode element_type)(Code)(Java Doc) abstract public TypeCode create_string_tc(int bound)(Code)(Java Doc) abstract public TypeCode create_struct_tc(String id, String name, StructMember[] members)(Code)(Java Doc) abstract public TypeCode create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_value_box_tc(String id, String name, TypeCode boxed_type)(Code)(Java Doc) public org.omg.CORBA.TypeCode create_value_tc(String id, String name, short type_modifier, TypeCode concrete_base, ValueMember[] members)(Code)(Java Doc) abstract public TypeCode create_wstring_tc(int bound)(Code)(Java Doc) public void disconnect(org.omg.CORBA.Object obj)(Code)(Java Doc) public org.omg.CORBA.Current get_current()(Code)(Java Doc) abstract public Context get_default_context()(Code)(Java Doc) abstract public Request get_next_response() throws WrongTransaction(Code)(Java Doc) abstract public TypeCode get_primitive_tc(TCKind tcKind)(Code)(Java Doc) public boolean get_service_information(short service_type, ServiceInformationHolder service_info)(Code)(Java Doc) public org.omg.CORBA.Object get_value_def(String repid)(Code)(Java Doc) public String id()(Code)(Java Doc) public static ORB init(String[] args, java.util.Properties props)(Code)(Java Doc) public static ORB init(java.applet.Applet app, java.util.Properties props)(Code)(Java Doc) public static ORB init()(Code)(Java Doc) abstract public String[] list_initial_services()(Code)(Java Doc) public org.omg.CORBA.portable.ValueFactory lookup_value_factory(String id)(Code)(Java Doc) abstract public String object_to_string(org.omg.CORBA.Object obj)(Code)(Java Doc) public void perform_work()(Code)(Java Doc) abstract public boolean poll_next_response()(Code)(Java Doc) public void register_initial_reference(String object_name, org.omg.CORBA.Object object) throws org.omg.CORBA.ORBPackage.InvalidName(Code)(Java Doc) public org.omg.CORBA.portable.ValueFactory register_value_factory(String id, org.omg.CORBA.portable.ValueFactory factory)(Code)(Java Doc) abstract public org.omg.CORBA.Object resolve_initial_references(String object_name) throws org.omg.CORBA.ORBPackage.InvalidName(Code)(Java Doc) public void run()(Code)(Java Doc) abstract public void send_multiple_requests_deferred(Request[] req)(Code)(Java Doc) abstract public void send_multiple_requests_oneway(Request[] req)(Code)(Java Doc) public void set_delegate(java.lang.Object wrapper)(Code)(Java Doc) abstract protected void set_parameters(String[] args, java.util.Properties props)(Code)(Java Doc) abstract protected void set_parameters(java.applet.Applet app, java.util.Properties props)(Code)(Java Doc) public void shutdown(boolean wait_for_completion)(Code)(Java Doc) abstract public org.omg.CORBA.Object string_to_object(String str)(Code)(Java Doc) public void unregister_value_factory(String id)(Code)(Java Doc) public boolean work_pending()(Code)(Java Doc)
|
|
|