org.omg.CORBA
Class ContainerPOATie

java.lang.Object
  |
  +--org.omg.PortableServer.Servant
        |
        +--org.omg.CORBA.ContainerPOA
              |
              +--org.omg.CORBA.ContainerPOATie
All Implemented Interfaces:
ContainerOperations, InvokeHandler, IRObjectOperations

public class ContainerPOATie
extends ContainerPOA

The base interface Container is used to form a containment hierarchy in the Interface Repository. A Container can contain any number of objects derived from the Contained interface. All Containers, except for Repository, are also derived from Contained.


Constructor Summary
ContainerPOATie(ContainerOperations tieObject)
          Constructor
ContainerPOATie(ContainerOperations tieObject, POA poa)
          Constructor
 
Method Summary
 POA _default_POA()
          _default_POA method
 ContainerOperations _delegate()
          Get the delegate
 void _delegate(ContainerOperations delegate_)
          Set the delegate
 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
 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
 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
 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
 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
 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.ContainerPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerPOATie

public ContainerPOATie(ContainerOperations tieObject)
Constructor

ContainerPOATie

public ContainerPOATie(ContainerOperations tieObject,
                       POA poa)
Constructor
Method Detail

_delegate

public ContainerOperations _delegate()
Get the delegate

_delegate

public void _delegate(ContainerOperations delegate_)
Set the delegate

_default_POA

public POA _default_POA()
_default_POA method
Overrides:
_default_POA in class Servant

lookup

public Contained lookup(java.lang.String search_name)
Operation lookup

contents

public Contained[] contents(DefinitionKind limit_type,
                            boolean exclude_inherited)
Operation contents
Following copied from interface: org.omg.CORBA.ContainerOperations
Parameters:
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.

lookup_name

public Contained[] lookup_name(java.lang.String search_name,
                               int levels_to_search,
                               DefinitionKind limit_type,
                               boolean exclude_inherited)
Operation lookup_name
Following copied from interface: org.omg.CORBA.ContainerOperations
Parameters:
search_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.

describe_contents

public Description[] describe_contents(DefinitionKind limit_type,
                                       boolean exclude_inherited,
                                       int max_returned_objs)
Operation describe_contents
Following copied from interface: org.omg.CORBA.ContainerOperations
Parameters:
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.
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.

create_module

public ModuleDef create_module(java.lang.String id,
                               java.lang.String name,
                               java.lang.String version)
Operation create_module

create_constant

public ConstantDef create_constant(java.lang.String id,
                                   java.lang.String name,
                                   java.lang.String version,
                                   IDLType type,
                                   Any value)
Operation create_constant

create_struct

public StructDef create_struct(java.lang.String id,
                               java.lang.String name,
                               java.lang.String version,
                               StructMember[] members)
Operation create_struct

create_union

public UnionDef create_union(java.lang.String id,
                             java.lang.String name,
                             java.lang.String version,
                             IDLType discriminator_type,
                             UnionMember[] members)
Operation create_union

create_enum

public EnumDef create_enum(java.lang.String id,
                           java.lang.String name,
                           java.lang.String version,
                           java.lang.String[] members)
Operation create_enum

create_alias

public AliasDef create_alias(java.lang.String id,
                             java.lang.String name,
                             java.lang.String version,
                             IDLType original_type)
Operation create_alias

create_interface

public InterfaceDef create_interface(java.lang.String id,
                                     java.lang.String name,
                                     java.lang.String version,
                                     InterfaceDef[] base_interfaces)
Operation create_interface

create_value

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)
Operation create_value

create_value_box

public ValueBoxDef create_value_box(java.lang.String id,
                                    java.lang.String name,
                                    java.lang.String version,
                                    IDLType original_type_def)
Operation create_value_box

create_exception

public ExceptionDef create_exception(java.lang.String id,
                                     java.lang.String name,
                                     java.lang.String version,
                                     StructMember[] members)
Operation create_exception

create_native

public NativeDef create_native(java.lang.String id,
                               java.lang.String name,
                               java.lang.String version)
Operation create_native

create_abstract_interface

public AbstractInterfaceDef create_abstract_interface(java.lang.String id,
                                                      java.lang.String name,
                                                      java.lang.String version,
                                                      AbstractInterfaceDef[] base_interfaces)
Operation create_abstract_interface

create_local_interface

public LocalInterfaceDef create_local_interface(java.lang.String id,
                                                java.lang.String name,
                                                java.lang.String version,
                                                LocalInterfaceDef[] base_interfaces)
Operation create_local_interface

def_kind

public DefinitionKind def_kind()
Read accessor for def_kind attribute

destroy

public void destroy()
Operation destroy