org.jacorb.orb
public final class ORB extends ORBSingleton implements POAListener, Configurable
Version: $Id: ORB.java,v 1.172 2007/02/14 09:55:24 andre.spiegel Exp $
Field Summary | |
---|---|
static String | orb_id |
String[] | _args command like args |
Constructor Summary | |
---|---|
ORB() |
Method Summary | |
---|---|
void | addObjectKey(String key_name, String full_path)addObjectKey is a proprietary method that allows the
internal objectKeyMap to be altered programmatically. |
void | addRequest(Request req) |
void | configure(Configuration config)
configure the ORB |
void | connect(Object obj) |
ProtocolAddressBase | createAddress(String address) |
ContextList | create_context_list() |
Environment | create_environment() |
ExceptionList | create_exception_list() |
NVList | create_list(int count) |
NamedValue | create_named_value(String name, Any value, int flags) |
NVList | create_operation_list(Object obj) |
NVList | create_operation_list(OperationDef oper) |
OutputStream | create_output_stream() |
Policy | create_policy(int type, Any value)
This method creates a policy with the given type and the given
value.
|
void | destroy() |
void | disconnect(Object obj) |
BasicAdapter | getBasicAdapter()
used from the POA |
BoxedValueHelper | getBoxedValueHelper(String repId)
Returns a BoxedValueHelper for the type specified by repId, or
null if no such BoxedValueHelper can be found. |
ClientConnectionManager | getClientConnectionManager() |
Configuration | getConfiguration()
Some parts of JacORB cannot be elegantly configured from the outside
and need access to the ORB's configuration retrieve config settings.
|
GIOPConnectionManager | getGIOPConnectionManager() |
String | getImplName() |
InterceptorManager | getInterceptorManager()
Get the InterceptorManager, if present.
|
Current | getPOACurrent()
getPOACurrent |
Object | getReference(POA poa, byte[] object_key, String rep_id, boolean _transient)
called by POA to create an IOR
|
POA | getRootPOA() |
byte[] | getServerId() |
String | getServerIdString() |
TransportManager | getTransportManager() |
Context | get_default_context() |
Request | get_next_response() |
boolean | get_service_information(short service_type, ServiceInformationHolder service_information) |
Object | get_value_def(String repid)
always return a ValueDef or throw BAD_PARAM if not repid of a value |
boolean | hasClientRequestInterceptors()
Test, if the ORB has ClientRequestInterceptors Called by Delegate. |
boolean | hasPolicyFactoryForType(int type)
Tests if a policy factory is present for the given type. |
boolean | hasRequestInterceptors()
Test, if the ORB has client or server side interceptors. |
boolean | hasServerRequestInterceptors()
Test, if the ORB has ServerRequestInterceptors Called by poa.RequestProcessor. |
String | id()
Overrides id() in org.omg.CORBA_2_5.ORB |
String[] | list_initial_services() |
ValueFactory | lookup_value_factory(String id) |
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. map "NameService" to "StandardNS/NameServer-POA/_root"
|
RPPoolManager | newRPPoolManager(boolean isSingleThreaded) |
void | notifyTransportListeners(GIOPConnection gc) |
String | object_to_string(Object obj) |
void | perform_work() |
void | poaCreated(POA poa)
An operation from the POAListener interface. |
void | poaStateChanged(POA poa, int new_state) |
boolean | poll_next_response() |
void | referenceCreated(Object o) |
void | register_initial_reference(String id, Object obj)
Register a reference, that will be returned on subsequent calls
to resove_initial_references(id). |
ValueFactory | register_value_factory(String id, ValueFactory factory) |
void | removeRequest(Request req) |
Object | resolve_initial_references(String identifier)
resolve_initial_references |
void | run() |
void | send_multiple_requests_deferred(Request[] req) |
void | send_multiple_requests_oneway(Request[] req) |
void | set_delegate(Object wrapper)
called by org.jacorb.poa.RequestProcessor |
protected void | set_parameters(String[] args, Properties props)
called from ORB.init(), entry point for initialization. |
protected void | set_parameters(Applet app, Properties props)
Initialization method, called from within the super class
org.omg.CORBA.ORB |
void | shutdown(boolean wait_for_completion) |
Object | string_to_object(String str) |
void | turnOnBiDirGIOP() |
void | unregister_value_factory(String id) |
boolean | useBiDirGIOP() |
boolean | work_pending() |
Object | _getObject(ParsedIOR pior)
This version of _getObject is used for references that have
arrived over the network and is called from CDRInputStream. |
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 full_path an String
value e.g. file:/home/rnc/NameSingleton.ior
Deprecated: use create_operation_list instead
Parameters: type The policies type. value The policies value.
Throws: org.omg.CORBA.PolicyError There is no PolicyFactory for the given type or the policy creation failed.
See Also: org.omg.PortableInterceptor.PolicyFactory
Returns: the basic adapter used by this ORB instance
Parameters: repId the repository id of the type for which a BoxedValueHelper should be returned. It is assumed that repId is the repository id of a boxed value type. Otherwise, the result will be null.
Returns: an instance of the BoxedValueHelper class that corresponds to repId.
Returns: the InterceptorManager, or null, if none is present.
Parameters: poa the calling POA object_key rep_id _transient is the new reference transient or persistent
Returns: a new CORBA Object reference
Parameters: originalKey a byte[]
value containing the original
key.
Returns: a byte[]
value containing the mapped key, if a
mapping is defined, originalKey otherwise.
Overrides register_initial_reference() in org.omg.CORBA_2_5.ORB
Parameters: id The references human-readable id, e.g. "MyService". obj The objects reference.
Throws: InvalidName A reference with id has already been registered.