|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.omg.CORBA.ORB
org.omg.CORBA_2_3.ORB
org.objectweb.david.libs.binding.orbs.ORBSingletonClass
org.objectweb.david.libs.binding.orbs.ORBClass
org.objectweb.david.libs.binding.orbs.iiop.ORBImpl
Encapsulates a IIOPBinder instance under a CORBA compliant interface, by extending
ORBClass.
| Field Summary |
| Fields inherited from class org.objectweb.david.libs.binding.orbs.ORBClass |
domain, initial_services_context, marshaller_factory, stub_factory |
| Fields inherited from interface org.objectweb.david.apis.services.java_serial.JAVA_SERIAL_SERVICE |
TAG_JAVA_SERIAL |
| Fields inherited from interface org.objectweb.david.libs.binding.orbs.Constants |
corba_object_id, corba_prefix, TC_any, TC_boolean, TC_char, TC_double, TC_float, TC_long, TC_longdouble, TC_longlong, TC_null, TC_Object, TC_octet, TC_Principal, TC_short, TC_string, tc_table, TC_TypeCode, TC_ulong, TC_ulonglong, TC_ushort, TC_void, TC_wchar, TC_wstring |
| Constructor Summary | |
ORBImpl()
Constructs a new instance of ORBImpl. |
|
| Method Summary | |
Identifier |
decode(byte[] data,
int offset,
int length)
Decodes an identifier from a buffer portion. |
Identifier |
decode(UnMarshaller u)
Calls the decode method on the underlying
IIOPBinder instance. |
Identifier |
export(java.lang.Object id,
org.objectweb.jonathan.apis.kernel.Context hints)
Creates a new identifier for the object interface designated by the id parameter. |
org.objectweb.david.libs.binding.poa.jacorb_poa.Current |
getPOACurrent()
|
org.omg.CORBA.Object |
getReference(org.objectweb.david.libs.binding.poa.jacorb_poa.POA poa,
byte[] object_key,
java.lang.String rep_id,
boolean _transient)
Returns the reference corresponding to a specified object_key. |
org.omg.CORBA.Object |
resolve_initial_references(java.lang.String name)
Resolve a specific object reference from the set of available initial service names. |
void |
set_delegate(java.lang.Object wrapper)
Creation of a ServantDelegate for the specified object and to this ORBImpl. |
void |
setBinder(IIOPBinder binder)
|
void |
setServantDelegateFactory(org.objectweb.david.apis.binding.portable_server.ServantDelegateFactory sdfactory)
|
| Methods inherited from class org.objectweb.david.libs.binding.orbs.ORBClass |
connect, create_any, create_output_stream, disconnect, get_next_response, list_initial_services, newMarshaller, newUnMarshaller, object_to_string, perform_work, poll_next_response, run, send_multiple_requests_deferred, send_multiple_requests_oneway, setDomain, setInitialServicesContext, setMarshallerFactory, setStubFactory, shutdown, string_to_object, work_pending |
| Methods inherited from class org.objectweb.david.libs.binding.orbs.ORBSingletonClass |
create_alias_tc, create_array_tc, create_context_list, create_enum_tc, create_environment, create_exception_list, create_exception_tc, create_interface_tc, create_list, create_named_value, create_operation_list, create_recursive_sequence_tc, create_recursive_tc, create_sequence_tc, create_string_tc, create_struct_tc, create_union_tc, create_value_box_tc, create_value_tc, create_wstring_tc, get_default_context, get_primitive_tc, set_parameters, set_parameters, setDefault |
| Methods inherited from class org.omg.CORBA_2_3.ORB |
get_value_def, lookup_value_factory, register_value_factory, unregister_value_factory |
| Methods inherited from class org.omg.CORBA.ORB |
create_abstract_interface_tc, create_fixed_tc, create_native_tc, create_operation_list, create_policy, get_current, get_service_information, init, init, init |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ORBImpl()
This method should not be called directly by an application: It is here only to let ORBImpl be instanciated when one of the org.omg.CORBA.ORB.init(...) methods is called.
| Method Detail |
public void setBinder(IIOPBinder binder)
public void setServantDelegateFactory(org.objectweb.david.apis.binding.portable_server.ServantDelegateFactory sdfactory)
public Identifier export(java.lang.Object id,
org.objectweb.jonathan.apis.kernel.Context hints)
throws org.objectweb.jonathan.apis.kernel.JonathanException
id must be of type Identifier.
Calls the
export method on the underlying
IIOPBinder instance.
export in interface NamingContextid - an identifier managed by another naming context (probably an
adapter);hints - additional information;
org.objectweb.jonathan.apis.kernel.JonathanException - if something else goes wrong.naming_context.export(org.objectweb.jonathan.model.name)
public Identifier decode(byte[] data,
int offset,
int length)
throws org.objectweb.jonathan.apis.kernel.JonathanException
Calls the
decode method on the underlying
IIOPBinder instance.
decode in interface NamingContextdata - the byte array to read the encoded identifier from;offset - offset of the first byte of the encoding;length - length of the encoding;
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.
public Identifier decode(UnMarshaller u)
throws org.objectweb.jonathan.apis.kernel.JonathanException
decode method on the underlying
IIOPBinder instance.
decode in interface NamingContextu - an unmarhaller;
org.objectweb.jonathan.apis.kernel.JonathanException - if something goes wrong.public org.objectweb.david.libs.binding.poa.jacorb_poa.Current getPOACurrent()
getPOACurrent in interface org.objectweb.david.apis.binding.orbs.JacorbORB
public org.omg.CORBA.Object resolve_initial_references(java.lang.String name)
throws org.omg.CORBA.ORBPackage.InvalidName
resolve_initial_references in interface org.objectweb.david.apis.binding.orbs.JacorbORBresolve_initial_references in class ORBClassname - the name of the initial service
org.omg.CORBA.ORBPackage.InvalidName - The given name is not associated with a known service.public void set_delegate(java.lang.Object wrapper)
set_delegate in interface org.objectweb.david.apis.binding.orbs.JacorbORBwrapper - the object for which we want a delegate
public org.omg.CORBA.Object getReference(org.objectweb.david.libs.binding.poa.jacorb_poa.POA poa,
byte[] object_key,
java.lang.String rep_id,
boolean _transient)
getReference in interface org.objectweb.david.apis.binding.orbs.JacorbORBpoa - : not needed : the method works on the root poaobject_key - : the associated object_keyrep_id - : the identifier of the idl interface_transient - : not needed here : this parameter is not interpreted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||