|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.omg.CORBA.portable.ObjectImpl
|
+--org.omg.CORBA._RepositoryStub
Repository is an interface that provides global access to the Interface Repository. The Repository object can contain constants, typedefs, exceptions, interfaces, value types, value boxes, native types and modules.
| Constructor Summary | |
_RepositoryStub()
|
|
| Method Summary | |
java.lang.String[] |
_ids()
|
Contained[] |
contents(DefinitionKind limit_type,
boolean exclude_inherited)
Operation contents |
AbstractInterfaceDef |
create_abstract_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
AbstractInterfaceDef[] base_interfaces)
Operation create_abstract_interface |
AliasDef |
create_alias(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType original_type)
Operation create_alias |
ArrayDef |
create_array(int bound,
IDLType element_type)
Operation create_array |
ConstantDef |
create_constant(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType type,
Any value)
Operation create_constant |
EnumDef |
create_enum(java.lang.String id,
java.lang.String name,
java.lang.String version,
java.lang.String[] members)
Operation create_enum |
ExceptionDef |
create_exception(java.lang.String id,
java.lang.String name,
java.lang.String version,
StructMember[] members)
Operation create_exception |
FixedDef |
create_fixed(short digits,
short scale)
Operation create_fixed |
InterfaceDef |
create_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
InterfaceDef[] base_interfaces)
Operation create_interface |
LocalInterfaceDef |
create_local_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
LocalInterfaceDef[] base_interfaces)
Operation create_local_interface |
ModuleDef |
create_module(java.lang.String id,
java.lang.String name,
java.lang.String version)
Operation create_module |
NativeDef |
create_native(java.lang.String id,
java.lang.String name,
java.lang.String version)
Operation create_native |
SequenceDef |
create_sequence(int bound,
IDLType element_type)
Operation create_sequence |
StringDef |
create_string(int bound)
Operation create_string |
StructDef |
create_struct(java.lang.String id,
java.lang.String name,
java.lang.String version,
StructMember[] members)
Operation create_struct |
UnionDef |
create_union(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType discriminator_type,
UnionMember[] members)
Operation create_union |
ValueBoxDef |
create_value_box(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType original_type_def)
Operation create_value_box |
ValueDef |
create_value(java.lang.String id,
java.lang.String name,
java.lang.String version,
boolean is_custom,
boolean is_abstract,
ValueDef base_value,
boolean is_truncatable,
ValueDef[] abstract_base_value,
InterfaceDef[] supported_interfaces,
Initializer[] initializers)
Operation create_value |
WstringDef |
create_wstring(int bound)
Operation create_wstring |
DefinitionKind |
def_kind()
Read accessor for def_kind attribute |
Description[] |
describe_contents(DefinitionKind limit_type,
boolean exclude_inherited,
int max_returned_objs)
Operation describe_contents |
void |
destroy()
Operation destroy |
TypeCode |
get_canonical_typecode(TypeCode tc)
Operation get_canonical_typecode |
PrimitiveDef |
get_primitive(PrimitiveKind kind)
Operation get_primitive |
Contained |
lookup_id(java.lang.String search_id)
Operation lookup_id |
Contained[] |
lookup_name(java.lang.String search_name,
int levels_to_search,
DefinitionKind limit_type,
boolean exclude_inherited)
Operation lookup_name |
Contained |
lookup(java.lang.String search_name)
Operation lookup |
| Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_interface, _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 |
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_interface, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
| Constructor Detail |
public _RepositoryStub()
| Method Detail |
public java.lang.String[] _ids()
_ids in class ObjectImplpublic Contained lookup_id(java.lang.String search_id)
lookup_id in interface RepositoryOperationspublic TypeCode get_canonical_typecode(TypeCode tc)
get_canonical_typecode in interface RepositoryOperationspublic PrimitiveDef get_primitive(PrimitiveKind kind)
get_primitive in interface RepositoryOperationspublic StringDef create_string(int bound)
create_string in interface RepositoryOperationspublic WstringDef create_wstring(int bound)
create_wstring in interface RepositoryOperations
public SequenceDef create_sequence(int bound,
IDLType element_type)
create_sequence in interface RepositoryOperations
public ArrayDef create_array(int bound,
IDLType element_type)
create_array in interface RepositoryOperations
public FixedDef create_fixed(short digits,
short scale)
create_fixed in interface RepositoryOperationspublic Contained lookup(java.lang.String search_name)
lookup in interface ContainerOperations
public Contained[] contents(DefinitionKind limit_type,
boolean exclude_inherited)
contents in interface ContainerOperationsorg.omg.CORBA.ContainerOperationslimit_type - If limit_type is set to dk_all "all", objects
of all interface types are returned. For example, if
this is an InterfaceDef, the attribute, operation,
and exception objects are all returned. If
limit_type is set to a specific interface, only
objects of that interface type are returned. For
example, only attribute objects are returned if
limit_type is set to dk_Attribute "AttributeDef".exclude_inherited - If set to TRUE, inherited objects (if
there are any) are not returned. If set to FALSE,
all contained objects,whether contained due to
inheritance or because they were defined within
the object,are returned.
public Contained[] lookup_name(java.lang.String search_name,
int levels_to_search,
DefinitionKind limit_type,
boolean exclude_inherited)
lookup_name in interface ContainerOperationsorg.omg.CORBA.ContainerOperationssearch_name - Specified which name is to be searched for.levels_to_search - Controls whether the lookup is
constrained to the object the operation is invoked
on or whether it should search through objects
contained by the object as well.limit_type - If limit_type is set to dk_all "all", objects
of all interface types are returned. For example, if
this is an InterfaceDef, the attribute, operation,
and exception objects are all returned. If
limit_type is set to a specific interface, only
objects of that interface type are returned. For
example, only attribute objects are returned if
limit_type is set to dk_Attribute "AttributeDef".exclude_inherited - If set to TRUE, inherited objects (if
there are any) are not returned. If set to FALSE,
all contained objects,whether contained due to
inheritance or because they were defined within
the object,are returned.
public Description[] describe_contents(DefinitionKind limit_type,
boolean exclude_inherited,
int max_returned_objs)
describe_contents in interface ContainerOperationsorg.omg.CORBA.ContainerOperationslimit_type - If limit_type is set to dk_all "all", objects
of all interface types are returned. For example, if
this is an InterfaceDef, the attribute, operation,
and exception objects are all returned. If
limit_type is set to a specific interface, only
objects of that interface type are returned. For
example, only attribute objects are returned if
limit_type is set to dk_Attribute "AttributeDef".exclude_inherited - If set to TRUE, inherited objects (if
there are any) are not returned. If set to FALSE,
all contained objects,whether contained due to
inheritance or because they were defined within
the object,are returned.max_returned_objs - max_returned_objs Limits the number of
objects that can be returned in an invocation of
the call to the number provided. Setting the
parameter to -1 means return all contained
objects.
public ModuleDef create_module(java.lang.String id,
java.lang.String name,
java.lang.String version)
create_module in interface ContainerOperations
public ConstantDef create_constant(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType type,
Any value)
create_constant in interface ContainerOperations
public StructDef create_struct(java.lang.String id,
java.lang.String name,
java.lang.String version,
StructMember[] members)
create_struct in interface ContainerOperations
public UnionDef create_union(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType discriminator_type,
UnionMember[] members)
create_union in interface ContainerOperations
public EnumDef create_enum(java.lang.String id,
java.lang.String name,
java.lang.String version,
java.lang.String[] members)
create_enum in interface ContainerOperations
public AliasDef create_alias(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType original_type)
create_alias in interface ContainerOperations
public InterfaceDef create_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
InterfaceDef[] base_interfaces)
create_interface in interface ContainerOperations
public ValueDef create_value(java.lang.String id,
java.lang.String name,
java.lang.String version,
boolean is_custom,
boolean is_abstract,
ValueDef base_value,
boolean is_truncatable,
ValueDef[] abstract_base_value,
InterfaceDef[] supported_interfaces,
Initializer[] initializers)
create_value in interface ContainerOperations
public ValueBoxDef create_value_box(java.lang.String id,
java.lang.String name,
java.lang.String version,
IDLType original_type_def)
create_value_box in interface ContainerOperations
public ExceptionDef create_exception(java.lang.String id,
java.lang.String name,
java.lang.String version,
StructMember[] members)
create_exception in interface ContainerOperations
public NativeDef create_native(java.lang.String id,
java.lang.String name,
java.lang.String version)
create_native in interface ContainerOperations
public AbstractInterfaceDef create_abstract_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
AbstractInterfaceDef[] base_interfaces)
create_abstract_interface in interface ContainerOperations
public LocalInterfaceDef create_local_interface(java.lang.String id,
java.lang.String name,
java.lang.String version,
LocalInterfaceDef[] base_interfaces)
create_local_interface in interface ContainerOperationspublic DefinitionKind def_kind()
def_kind in interface IRObjectOperationspublic void destroy()
destroy in interface IRObjectOperations
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||