|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.omg.CORBA.ORB | +--org.omg.CORBA_2_3.ORB | +--org.openorb.CORBA.ORBSingleton | +--org.openorb.CORBA.ORB
This class provides all required operations and structures for the org.openorb implementation.
Constructor Summary | |
ORB()
Orb instances must be created through ORB.init |
Method Summary | |
void |
addInitialReference(java.lang.String name,
Object target)
Register an initial reference. |
void |
addServiceInformation(short service_type,
ServiceInformation service_information)
Add service information |
void |
connect(Object obj)
Connect an object to the adapter |
ContextList |
create_context_list()
Create a context list |
Environment |
create_environment()
Create an environment |
ExceptionList |
create_exception_list()
Create an exception list |
NVList |
create_list(int count)
Create a named value list |
NamedValue |
create_named_value(java.lang.String name,
Any value,
int flags)
Create a named value |
OutputStream |
create_output_stream()
Create an Output stream |
Policy |
create_policy(int policy_type,
Any val)
This operations creates a CORBA policy. |
void |
disconnect(Object obj)
Disconnect an object from the adapter |
Context |
get_default_context()
Return default context |
Request |
get_next_response()
Get the next response. |
boolean |
get_service_information(short service_type,
ServiceInformationHolder service_information)
Return the service informaton |
java.lang.Object |
getFeature(java.lang.String feature)
This operation is used to get an OpenORB feature reference. |
ORBLoader |
getLoader()
This operation returns the configurator used by this ORB instance |
CurrentImpl |
getPICurrent()
Returns the PICurrent implementation. |
java.lang.String[] |
list_initial_services()
Return as a string sequence all available initial services. |
ValueFactory |
lookup_value_factory(java.lang.String id)
This function is used to find a value factory |
java.lang.String |
object_to_string(Object obj)
Convert an object reference to a string |
void |
perform_work()
Perform all current work |
boolean |
poll_next_response()
Poll next response |
ValueFactory |
register_value_factory(java.lang.String id,
ValueFactory factory)
This function is used to register a value factory |
ValueFactory |
register_value_factory(java.lang.String id,
ValueFactory factory,
org.apache.avalon.framework.configuration.Configuration config)
This function is used to register a value factory with a supplied configuration. |
Object |
resolve_initial_references(java.lang.String object_name)
Return an initial reference. |
void |
run()
Run the server side. |
void |
send_multiple_requests_deferred(Request[] req)
Send multiple deferred requests |
void |
send_multiple_requests_oneway(Request[] req)
Send multiple oneway requests |
void |
set_delegate(java.lang.Object wrapper)
This function is used to set a delegate |
void |
setFeature(java.lang.String feature,
java.lang.Object reference)
This operation is used to set an OpenORB feature reference. |
void |
shutdown(boolean wait_for_completion)
Stop the orb ( and the object adapter if required ) |
Object |
string_to_object(java.lang.String str)
Convert a string to an object reference |
void |
unregister_value_factory(java.lang.String id)
This function is used to unregister a value factory |
boolean |
work_pending()
Check if some work are pending |
Methods inherited from class org.omg.CORBA_2_3.ORB |
get_value_def |
Methods inherited from class org.omg.CORBA.ORB |
create_operation_list, get_current, init, init, init |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ORB()
Method Detail |
public void setFeature(java.lang.String feature, java.lang.Object reference)
public java.lang.Object getFeature(java.lang.String feature)
public ORBLoader getLoader()
public CurrentImpl getPICurrent()
public void addInitialReference(java.lang.String name, Object target)
public void addServiceInformation(short service_type, ServiceInformation service_information)
public Object resolve_initial_references(java.lang.String object_name) throws InvalidName
resolve_initial_references
in class ORBSingleton
public java.lang.String[] list_initial_services()
list_initial_services
in class ORBSingleton
public void run()
run
in class ORBSingleton
public void shutdown(boolean wait_for_completion)
shutdown
in class ORBSingleton
public boolean work_pending()
work_pending
in class ORBSingleton
public void perform_work()
perform_work
in class ORBSingleton
public OutputStream create_output_stream()
create_output_stream
in class ORBSingleton
public NVList create_list(int count)
create_list
in class ORBSingleton
public NamedValue create_named_value(java.lang.String name, Any value, int flags)
create_named_value
in class ORBSingleton
public ExceptionList create_exception_list()
create_exception_list
in class ORBSingleton
public ContextList create_context_list()
create_context_list
in class ORBSingleton
public Context get_default_context()
get_default_context
in class ORBSingleton
public Environment create_environment()
create_environment
in class ORBSingleton
public void connect(Object obj)
connect
in class ORBSingleton
public void disconnect(Object obj)
disconnect
in class ORBSingleton
public java.lang.String object_to_string(Object obj)
object_to_string
in class ORBSingleton
public Object string_to_object(java.lang.String str)
string_to_object
in class ORBSingleton
public void send_multiple_requests_oneway(Request[] req)
send_multiple_requests_oneway
in class ORBSingleton
public void send_multiple_requests_deferred(Request[] req)
send_multiple_requests_deferred
in class ORBSingleton
public boolean poll_next_response()
poll_next_response
in class ORBSingleton
public Request get_next_response()
get_next_response
in class ORBSingleton
public ValueFactory register_value_factory(java.lang.String id, ValueFactory factory, org.apache.avalon.framework.configuration.Configuration config)
id
- the IDL valuetype identifierfactory
- the value factory instancecofig
- the factory configurationpublic ValueFactory register_value_factory(java.lang.String id, ValueFactory factory)
register_value_factory
in class ORBSingleton
id
- the IDL valuetype identifierfactory
- the value factory instancepublic void unregister_value_factory(java.lang.String id)
unregister_value_factory
in class ORBSingleton
public ValueFactory lookup_value_factory(java.lang.String id)
lookup_value_factory
in class ORBSingleton
public void set_delegate(java.lang.Object wrapper)
set_delegate
in class ORBSingleton
public boolean get_service_information(short service_type, ServiceInformationHolder service_information)
get_service_information
in class ORBSingleton
public Policy create_policy(int policy_type, Any val) throws PolicyError
create_policy
in class ORBSingleton
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |