org.jacorb.ir
Class Container

java.lang.Object
  extended by org.jacorb.ir.IRObject
      extended by org.jacorb.ir.Container
All Implemented Interfaces:
ContainerOperations, IRObjectOperations

public class Container
extends IRObject
implements ContainerOperations


Field Summary
protected  java.util.Hashtable contained
          CORBA references to contained objects
protected  java.util.Hashtable containedLocals
          local references to contained objects
protected  Repository containing_repository
           
protected  boolean defined
           
protected  Container defined_in
          outer container
protected  IRObject delegator
           
protected  java.lang.String full_name
           
protected  java.io.File my_dir
           
protected  java.lang.String path
           
protected  Container this_container
          CORBA reference to this container
 
Fields inherited from class org.jacorb.ir.IRObject
def_kind, fileSeparator, myRef, name, orb
 
Constructor Summary
Container(IRObject delegator, java.lang.String path, java.lang.String full_name, java.lang.ClassLoader loader, POA poa, org.slf4j.Logger logger)
           
 
Method Summary
 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)
           
 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[] member)
          not supported
 InterfaceDef create_interface(java.lang.String id, java.lang.String name, java.lang.String version, InterfaceDef[] base_interfaces, boolean is_abstract)
          not supported
 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)
          not supported
 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)
           
 ValueBoxDef create_value_box(java.lang.String id, java.lang.String name, java.lang.String version, IDLType type)
          not supported
 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_values, InterfaceDef[] supported_interfaces, Initializer[] initializers)
          not supported
 Description[] describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
           
 void destroy()
           
 Contained[] lookup_name(java.lang.String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)
           
 Contained lookup(java.lang.String scopedname)
          retrieves a contained object given a scoped name
 
Methods inherited from class org.jacorb.ir.IRObject
def_kind, getName, getReference, setReference
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.IRObjectOperations
def_kind
 

Field Detail

delegator

protected IRObject delegator

contained

protected java.util.Hashtable contained
CORBA references to contained objects


containedLocals

protected java.util.Hashtable containedLocals
local references to contained objects


my_dir

protected java.io.File my_dir

path

protected java.lang.String path

full_name

protected java.lang.String full_name

this_container

protected Container this_container
CORBA reference to this container


defined_in

protected Container defined_in
outer container


containing_repository

protected Repository containing_repository

defined

protected boolean defined
Constructor Detail

Container

public Container(IRObject delegator,
                 java.lang.String path,
                 java.lang.String full_name,
                 java.lang.ClassLoader loader,
                 POA poa,
                 org.slf4j.Logger logger)
Method Detail

contents

public Contained[] contents(DefinitionKind limit_type,
                            boolean exclude_inherited)
Specified by:
contents in interface ContainerOperations

lookup

public Contained lookup(java.lang.String scopedname)
retrieves a contained object given a scoped name

Specified by:
lookup in interface ContainerOperations

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 interface ContainerOperations

describe_contents

public Description[] describe_contents(DefinitionKind limit_type,
                                       boolean exclude_inherited,
                                       int max_returned_objs)
Specified by:
describe_contents in interface ContainerOperations

create_module

public ModuleDef create_module(java.lang.String id,
                               java.lang.String name,
                               java.lang.String version)
Specified by:
create_module in interface ContainerOperations

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 interface ContainerOperations

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 interface ContainerOperations

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 interface ContainerOperations

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 interface ContainerOperations

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 interface ContainerOperations

create_exception

public ExceptionDef create_exception(java.lang.String id,
                                     java.lang.String name,
                                     java.lang.String version,
                                     StructMember[] member)
not supported

Specified by:
create_exception in interface ContainerOperations

create_interface

public InterfaceDef create_interface(java.lang.String id,
                                     java.lang.String name,
                                     java.lang.String version,
                                     InterfaceDef[] base_interfaces,
                                     boolean is_abstract)
not supported

Specified by:
create_interface in interface ContainerOperations

create_value_box

public ValueBoxDef create_value_box(java.lang.String id,
                                    java.lang.String name,
                                    java.lang.String version,
                                    IDLType type)
not supported

Specified by:
create_value_box in interface ContainerOperations

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_values,
                             InterfaceDef[] supported_interfaces,
                             Initializer[] initializers)
not supported

Specified by:
create_value in interface ContainerOperations

create_native

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

Specified by:
create_native in interface ContainerOperations

destroy

public void destroy()
Specified by:
destroy in interface IRObjectOperations
Specified by:
destroy in class IRObject