org.jacorb.ir

Class Container

public class Container extends IRObject implements ContainerOperations

Field Summary
protected Hashtablecontained
CORBA references to contained objects
protected HashtablecontainedLocals
local references to contained objects
protected Repositorycontaining_repository
protected booleandefined
protected Containerdefined_in
outer container
protected IRObjectdelegator
protected Stringfull_name
protected Filemy_dir
protected Stringpath
protected Containerthis_container
CORBA reference to this container
Constructor Summary
Container(IRObject delegator, String path, String full_name, ClassLoader loader, POA poa, Logger logger)
Method Summary
Contained[]contents(DefinitionKind limit_type, boolean exclude_inherited)
AliasDefcreate_alias(String id, String name, String version, IDLType original_type)
ConstantDefcreate_constant(String id, String name, String version, IDLType type, Any value)
EnumDefcreate_enum(String id, String name, String version, String[] members)
ExceptionDefcreate_exception(String id, String name, String version, StructMember[] member)
not supported
InterfaceDefcreate_interface(String id, String name, String version, InterfaceDef[] base_interfaces, boolean is_abstract)
not supported
ModuleDefcreate_module(String id, String name, String version)
NativeDefcreate_native(String id, String name, String version)
not supported
StructDefcreate_struct(String id, String name, String version, StructMember[] members)
UnionDefcreate_union(String id, String name, String version, IDLType discriminator_type, UnionMember[] members)
ValueDefcreate_value(String id, String name, 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
ValueBoxDefcreate_value_box(String id, String name, String version, IDLType type)
not supported
Description[]describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)
voiddestroy()
Containedlookup(String scopedname)
retrieves a contained object given a scoped name
Contained[]lookup_name(String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)

Field Detail

contained

protected Hashtable contained
CORBA references to contained objects

containedLocals

protected Hashtable containedLocals
local references to contained objects

containing_repository

protected Repository containing_repository

defined

protected boolean defined

defined_in

protected Container defined_in
outer container

delegator

protected IRObject delegator

full_name

protected String full_name

my_dir

protected File my_dir

path

protected String path

this_container

protected Container this_container
CORBA reference to this container

Constructor Detail

Container

public Container(IRObject delegator, String path, String full_name, ClassLoader loader, POA poa, Logger logger)

Method Detail

contents

public Contained[] contents(DefinitionKind limit_type, boolean exclude_inherited)

create_alias

public AliasDef create_alias(String id, String name, String version, IDLType original_type)

create_constant

public ConstantDef create_constant(String id, String name, String version, IDLType type, Any value)

create_enum

public EnumDef create_enum(String id, String name, String version, String[] members)

create_exception

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

create_interface

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

create_module

public ModuleDef create_module(String id, String name, String version)

create_native

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

create_struct

public StructDef create_struct(String id, String name, String version, StructMember[] members)

create_union

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

create_value

public ValueDef create_value(String id, String name, 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

create_value_box

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

describe_contents

public Description[] describe_contents(DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)

destroy

public void destroy()

lookup

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

lookup_name

public Contained[] lookup_name(String search_name, int levels_to_search, DefinitionKind limit_type, boolean exclude_inherited)