Package org.omg.CORBA
Class _RepositoryStub
- java.lang.Object
-
- org.omg.CORBA.portable.ObjectImpl
-
- org.omg.CORBA._RepositoryStub
-
- All Implemented Interfaces:
java.io.Serializable
,Container
,ContainerOperations
,IRObject
,IRObjectOperations
,Object
,IDLEntity
,Repository
,RepositoryOperations
public class _RepositoryStub extends ObjectImpl implements Repository
org/omg/CORBA/_RepositoryStub.java . Generated by the IDL-to-Java compiler (portable), version "4.1" from /home/abuild/rpmbuild/BUILD/glassfish-corba-4.2.4/omgapi/src/main/idl/ir.idl Wednesday, February 21, 2024 at 12:00:00 PM Greenwich Mean Time
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]
__ids
-
Constructor Summary
Constructors Constructor Description _RepositoryStub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
_ids()
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object.Contained[]
contents(DefinitionKind limit_type, boolean exclude_inherited)
AliasDef
create_alias(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type)
ArrayDef
create_array(int length, IDLType element_type)
ConstantDef
create_constant(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, Any value)
EnumDef
create_enum(java.lang.String id, java.lang.String name, java.lang.String version, java.lang.String[] members)
ExceptionDef
create_exception(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
InterfaceDef
create_interface(java.lang.String id, java.lang.String name, java.lang.String version, boolean is_abstract, InterfaceDef[] base_interfaces)
ModuleDef
create_module(java.lang.String id, java.lang.String name, java.lang.String version)
NativeDef
create_native(java.lang.String id, java.lang.String name, java.lang.String version)
SequenceDef
create_sequence(int bound, IDLType element_type)
StringDef
create_string(int bound)
StructDef
create_struct(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
UnionDef
create_union(java.lang.String id, java.lang.String name, java.lang.String version, IDLType discriminator_type, UnionMember[] members)
ValueDef
create_value(java.lang.String id, java.lang.String name, java.lang.String version, boolean is_custom, boolean is_abstract, byte flags, ValueDef base_value, boolean has_safe_base, ValueDef[] abstract_base_values, InterfaceDef[] supported_interfaces, Initializer[] initializers)
ValueBoxDef
create_value_box(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type_def)
DefinitionKind
def_kind()
Returns theDefinitionKind
corresponding to this Interface Repository object.Description[]
describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
void
destroy()
Destroys this object.PrimitiveDef
get_primitive(PrimitiveKind kind)
Contained
lookup(java.lang.String search_name)
Contained
lookup_id(java.lang.String search_id)
Contained[]
lookup_name(java.lang.String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
private void
readObject(java.io.ObjectInputStream s)
private void
writeObject(java.io.ObjectOutputStream s)
-
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
-
-
-
-
Method Detail
-
lookup_id
public Contained lookup_id(java.lang.String search_id)
- Specified by:
lookup_id
in interfaceRepositoryOperations
-
get_primitive
public PrimitiveDef get_primitive(PrimitiveKind kind)
- Specified by:
get_primitive
in interfaceRepositoryOperations
-
create_string
public StringDef create_string(int bound)
- Specified by:
create_string
in interfaceRepositoryOperations
-
create_sequence
public SequenceDef create_sequence(int bound, IDLType element_type)
- Specified by:
create_sequence
in interfaceRepositoryOperations
-
create_array
public ArrayDef create_array(int length, IDLType element_type)
- Specified by:
create_array
in interfaceRepositoryOperations
-
lookup
public Contained lookup(java.lang.String search_name)
- Specified by:
lookup
in interfaceContainerOperations
-
contents
public Contained[] contents(DefinitionKind limit_type, boolean exclude_inherited)
- Specified by:
contents
in interfaceContainerOperations
-
lookup_name
public Contained[] lookup_name(java.lang.String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
- Specified by:
lookup_name
in interfaceContainerOperations
-
describe_contents
public Description[] describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
- Specified by:
describe_contents
in interfaceContainerOperations
-
create_module
public ModuleDef create_module(java.lang.String id, java.lang.String name, java.lang.String version)
- Specified by:
create_module
in interfaceContainerOperations
-
create_constant
public ConstantDef create_constant(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type, Any value)
- Specified by:
create_constant
in interfaceContainerOperations
-
create_struct
public StructDef create_struct(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
- Specified by:
create_struct
in interfaceContainerOperations
-
create_union
public UnionDef create_union(java.lang.String id, java.lang.String name, java.lang.String version, IDLType discriminator_type, UnionMember[] members)
- Specified by:
create_union
in interfaceContainerOperations
-
create_enum
public EnumDef create_enum(java.lang.String id, java.lang.String name, java.lang.String version, java.lang.String[] members)
- Specified by:
create_enum
in interfaceContainerOperations
-
create_alias
public AliasDef create_alias(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type)
- Specified by:
create_alias
in interfaceContainerOperations
-
create_exception
public ExceptionDef create_exception(java.lang.String id, java.lang.String name, java.lang.String version, StructMember[] members)
- Specified by:
create_exception
in interfaceContainerOperations
-
create_interface
public InterfaceDef create_interface(java.lang.String id, java.lang.String name, java.lang.String version, boolean is_abstract, InterfaceDef[] base_interfaces)
- Specified by:
create_interface
in interfaceContainerOperations
-
create_value
public ValueDef create_value(java.lang.String id, java.lang.String name, java.lang.String version, boolean is_custom, boolean is_abstract, byte flags, ValueDef base_value, boolean has_safe_base, ValueDef[] abstract_base_values, InterfaceDef[] supported_interfaces, Initializer[] initializers)
- Specified by:
create_value
in interfaceContainerOperations
-
create_value_box
public ValueBoxDef create_value_box(java.lang.String id, java.lang.String name, java.lang.String version, IDLType original_type_def)
- Specified by:
create_value_box
in interfaceContainerOperations
-
create_native
public NativeDef create_native(java.lang.String id, java.lang.String name, java.lang.String version)
- Specified by:
create_native
in interfaceContainerOperations
-
def_kind
public DefinitionKind def_kind()
Description copied from interface:IRObjectOperations
Returns theDefinitionKind
corresponding to this Interface Repository object.- Specified by:
def_kind
in interfaceIRObjectOperations
- Returns:
- the
DefinitionKind
corresponding to this Interface Repository object.
-
destroy
public void destroy()
Description copied from interface:IRObjectOperations
Destroys this object. If the object is a Container, this method is applied to all its contents. If the object contains an IDLType attribute for an anonymous type, that IDLType is destroyed. If the object is currently contained in some other object, it is removed. If the method is invoked on aRepository
or on aPrimitiveDef
then theBAD_INV_ORDER
exception is raised with minor value 2. An attempt to destroy an object that would leave the repository in an incoherent state causesBAD_INV_ORDER
exception to be raised with the minor code 1.- Specified by:
destroy
in interfaceIRObjectOperations
-
_ids
public java.lang.String[] _ids()
Description copied from class:ObjectImpl
Retrieves a string array containing the repository identifiers supported by thisObjectImpl
object. For example, for a stub, this method returns information about all the interfaces supported by the stub.- Specified by:
_ids
in classObjectImpl
- Returns:
- the array of all repository identifiers supported by this
ObjectImpl
instance
-
readObject
private void readObject(java.io.ObjectInputStream s) throws java.io.IOException
- Throws:
java.io.IOException
-
writeObject
private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException
- Throws:
java.io.IOException
-
-