Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.omg.CORBA.ORB
org.omg.CORBA_2_3.ORB
gnu.CORBA.OrbRestricted
public class OrbRestricted
extends ORB
Any
, ContextList
,
NVList
and OutputStream
that writes to
an internal buffer.
All other methods throw the NO_IMPLEMENT
exception.
Field Summary | |
static ORB |
|
protected Hashtable<K,V> |
|
ClientRequestInterceptorOperations |
|
IORInterceptor_3_0Operations |
|
ServerRequestInterceptorOperations |
|
int |
|
protected Hashtable<K,V> |
|
Constructor Summary | |
|
Method Summary | |
TypeCode |
|
Any | |
TypeCode |
|
ContextList | |
TypeCode |
|
Environment | |
ExceptionList | |
TypeCode |
|
TypeCode |
|
NVList |
|
NamedValue |
|
OutputStream | |
TypeCode |
|
TypeCode |
|
TypeCode |
|
TypeCode |
|
TypeCode |
|
TypeCode |
|
void |
|
Context |
|
Request |
|
TypeCode |
|
String[] |
|
ValueFactory |
|
String |
|
boolean |
|
ValueFactory |
|
Object |
|
void |
|
void |
|
void |
|
protected void |
|
protected void |
|
void |
|
Object |
|
void |
|
Methods inherited from class org.omg.CORBA_2_3.ORB | |
get_value_def , lookup_value_factory , register_value_factory , set_delegate , unregister_value_factory |
Methods inherited from class java.lang.Object | |
clone , equals , extends Object> getClass , finalize , hashCode , notify , notifyAll , toString , wait , wait , wait |
public ClientRequestInterceptorOperations iClient
The cumulated listener for all client request interceptros. Interceptors are used byORB_1_4
.
public IORInterceptor_3_0Operations iIor
The cumulated listener for all IOR interceptors. Interceptors are used byORB_1_4
.
public ServerRequestInterceptorOperations iServer
The cumulated listener for all server request interceptors. Interceptors are used byORB_1_4
.
protected OrbRestricted()
Create a new instance of the RestrictedORB. This is used in derived classes only.
public TypeCode create_alias_tc(String id, String name, TypeCode typecode)
- Overrides:
- create_alias_tc in interface ORB
public TypeCode create_array_tc(int length, TypeCode element_type)
- Overrides:
- create_array_tc in interface ORB
public ContextList create_context_list()
- Overrides:
- create_context_list in interface ORB
public TypeCode create_enum_tc(String id, String name, String[] values)
- Overrides:
- create_enum_tc in interface ORB
public Environment create_environment()
- Overrides:
- create_environment in interface ORB
public ExceptionList create_exception_list()
- Overrides:
- create_exception_list in interface ORB
public TypeCode create_exception_tc(String id, String name, StructMember[] members)
- Overrides:
- create_exception_tc in interface ORB
public TypeCode create_interface_tc(String id, String name)
This method is not allowed for a RestrictedORB.
- Overrides:
- create_interface_tc in interface ORB
public NamedValue create_named_value(String s, Any any, int flags)
- Overrides:
- create_named_value in interface ORB
public OutputStream create_output_stream()
- Overrides:
- create_output_stream in interface ORB
public TypeCode create_recursive_sequence_tc(int bound, int offset)
Deprecated. It is easier and clearler to use a combination of create_recursive_tc and create_sequence_tc instead.
Create a typecode, representing a tree-like structure. This structure contains a member that is a sequence of the same type, as the structure itself. You can imagine as if the folder definition contains a variable-length array of the enclosed (nested) folder definitions. In this way, it is possible to have a tree like structure that can be transferred via CORBA CDR stream.
- Overrides:
- create_recursive_sequence_tc in interface ORB
- Parameters:
bound
- the maximal expected number of the nested components on each node; 0 if not limited.offset
- the position of the field in the returned structure that contains the sequence of the structures of the same field. The members before this field are intialised using parameterless StructMember constructor.
- Returns:
- a typecode, defining a stucture, where a member at the
offset
position defines an array of the identical structures.
public TypeCode create_sequence_tc(int bound, TypeCode element_type)
- Overrides:
- create_sequence_tc in interface ORB
public TypeCode create_string_tc(int bound)
- Overrides:
- create_string_tc in interface ORB
public TypeCode create_struct_tc(String id, String name, StructMember[] members)
- Overrides:
- create_struct_tc in interface ORB
public TypeCode create_union_tc(String id, String name, TypeCode discriminator_type, UnionMember[] members)
- Overrides:
- create_union_tc in interface ORB
public TypeCode create_wstring_tc(int bound)
- Overrides:
- create_wstring_tc in interface ORB
public Context get_default_context()
Get the default context of this ORB. This is an initial root of all contexts. The default method returns a new context with the empty name and no parent context.
- Overrides:
- get_default_context in interface ORB
- Returns:
- the default context of this ORB.
public Request get_next_response() throws WrongTransaction
This method is not allowed for a RestrictedORB.
- Overrides:
- get_next_response in interface ORB
public TypeCode get_primitive_tc(TCKind tcKind)
- Overrides:
- get_primitive_tc in interface ORB
public String[] list_initial_services()
This method is not allowed for a RestrictedORB.
- Overrides:
- list_initial_services in interface ORB
public ValueFactory lookup_value_factory(String repository_id)
Look for the value factory for the value, having the given repository id. The implementation checks for the registered value factories first. If none found, it tries to load and instantiate the class, mathing the given naming convention. If this faild, null is returned.
- Overrides:
- lookup_value_factory in interface ORB
- Parameters:
repository_id
- a repository id.
- Returns:
- a found value factory, null if none.
public String object_to_string(Object forObject)
This method is not allowed for a RestrictedORB.
- Overrides:
- object_to_string in interface ORB
public boolean poll_next_response()
This method is not allowed for a RestrictedORB.
- Overrides:
- poll_next_response in interface ORB
public ValueFactory register_value_factory(String repository_id, ValueFactory factory)
Register the value factory under the given repository id.
- Overrides:
- register_value_factory in interface ORB
public Object resolve_initial_references(String name) throws InvalidName
This method is not allowed for a RestrictedORB.
- Overrides:
- resolve_initial_references in interface ORB
- Throws:
InvalidName
- never in this class, but it is thrown in the derived classes.
public void send_multiple_requests_deferred(Request[] requests)
This method is not allowed for a RestrictedORB.
- Overrides:
- send_multiple_requests_deferred in interface ORB
public void send_multiple_requests_oneway(Request[] requests)
This method is not allowed for a RestrictedORB.
- Overrides:
- send_multiple_requests_oneway in interface ORB
protected void set_parameters(Applet app, Properties props)
This method is not allowed for a RestrictedORB.
- Overrides:
- set_parameters in interface ORB
protected void set_parameters(String[] args, Properties props)
This method is not allowed for a RestrictedORB.
- Overrides:
- set_parameters in interface ORB
public void shutdown(boolean wait_for_completion)
Shutdown the ORB server. For RestrictedORB, returns witout action.
public Object string_to_object(String IOR)
This method is not allowed for a RestrictedORB.
- Overrides:
- string_to_object in interface ORB
public void unregister_value_factory(String id)
Unregister the value factroy.
- Overrides:
- unregister_value_factory in interface ORB