| java.lang.Object org.jacorb.ir.IRObject org.jacorb.ir.RepositoryImpl
RepositoryImpl | public class RepositoryImpl extends IRObject implements org.omg.CORBA.RepositoryOperations,Configurable(Code) | | The Interface Repository.
This class represents the repository itself as
well as the executable server.
Methods from the "write" interface to the IR
are not supported.
author: Gerald Brose version: $Id: RepositoryImpl.java,v 1.12 2006/06/15 16:43:14 alphonse.bendt Exp $ |
Method Summary | |
public void | configure(Configuration myConfiguration) | public org.omg.CORBA.Contained[] | contents(org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited) | public org.omg.CORBA.AliasDef | create_alias(String id, String name, String version, org.omg.CORBA.IDLType original_type) | public org.omg.CORBA.ArrayDef | create_array(int length, org.omg.CORBA.IDLType element_type) | public org.omg.CORBA.ConstantDef | create_constant(String id, String name, String version, org.omg.CORBA.IDLType type, org.omg.CORBA.Any value) | public org.omg.CORBA.EnumDef | create_enum(String id, String name, String version, String[] members) | public org.omg.CORBA.ExceptionDef | create_exception(String id, String name, String version, org.omg.CORBA.StructMember[] member) | public org.omg.CORBA.FixedDef | create_fixed(short digits, short scale) | public org.omg.CORBA.InterfaceDef | create_interface(String id, String name, String version, org.omg.CORBA.InterfaceDef[] base_interfaces, boolean is_abstract) | public org.omg.CORBA.ModuleDef | create_module(String id, String name, String version) | public org.omg.CORBA.NativeDef | create_native(String id, String name, String version) | public org.omg.CORBA.SequenceDef | create_sequence(int bound, org.omg.CORBA.IDLType element_type) | public org.omg.CORBA.StringDef | create_string(int bound) | public org.omg.CORBA.StructDef | create_struct(String id, String name, String version, org.omg.CORBA.StructMember[] members) | public org.omg.CORBA.UnionDef | create_union(String id, String name, String version, org.omg.CORBA.IDLType discriminator_type, org.omg.CORBA.UnionMember[] members) | public org.omg.CORBA.ValueDef | create_value(String id, String name, String version, boolean is_custom, boolean is_abstract, org.omg.CORBA.ValueDef base_value, boolean is_truncatable, org.omg.CORBA.ValueDef[] abstract_base_values, org.omg.CORBA.InterfaceDef[] supported_interfaces, org.omg.CORBA.Initializer[] initializers) | public org.omg.CORBA.ValueBoxDef | create_value_box(String id, String name, String version, org.omg.CORBA.IDLType type) | public org.omg.CORBA.WstringDef | create_wstring(int bound) | void | define() | public org.omg.CORBA.ContainerPackage.Description[] | describe_contents(org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs) | public void | destroy() | public org.omg.CORBA.TypeCode | get_canonical_typecode(org.omg.CORBA.TypeCode tc) | public org.omg.CORBA.PrimitiveDef | get_primitive(org.omg.CORBA.PrimitiveKind kind) | public void | loadContents() | public org.omg.CORBA.Contained | lookup(String name) | public org.omg.CORBA.Contained | lookup_id(String search_id) lookup a repository ID
Parameters: search_id - a string in Repository ID format,e.g. | public org.omg.CORBA.Contained[] | lookup_name(String search_name, int levels_to_search, org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited) |
RepositoryImpl | public RepositoryImpl(String classpath, String outfile, java.net.URLClassLoader loader) throws Exception(Code) | | constructor to launch a repository with the contents of classpath
Parameters: classpath - a classpath string made up of directories separated by ":" |
configure | public void configure(Configuration myConfiguration) throws ConfigurationException(Code) | | |
contents | public org.omg.CORBA.Contained[] contents(org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited)(Code) | | list the contents of the repository
Parameters: limit_type - limit the description to objects of this type Parameters: exclude_inherited - exclude inherited items from the description an array of items contained in this repository |
describe_contents | public org.omg.CORBA.ContainerPackage.Description[] describe_contents(org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited, int max_returned_objs)(Code) | | describe the contents of the repository
Parameters: limit_type - limit the description to objects of this type Parameters: exclude_inherited - exclude inherited items from the description Parameters: max_returned_objs - return only so many items an array of descriptions |
destroy | public void destroy()(Code) | | |
loadContents | public void loadContents()(Code) | | |
lookup | public org.omg.CORBA.Contained lookup(String name)(Code) | | lookup a scoped name in the repository
Parameters: name - the name to look for a reference to the item with the specified nameor null, if not found |
lookup_id | public org.omg.CORBA.Contained lookup_id(String search_id)(Code) | | lookup a repository ID
Parameters: search_id - a string in Repository ID format,e.g. "IDL:myModule/MyInterface:1.0" a reference to the object or null, if not found |
lookup_name | public org.omg.CORBA.Contained[] lookup_name(String search_name, int levels_to_search, org.omg.CORBA.DefinitionKind limit_type, boolean exclude_inherited)(Code) | | lookup a simple name in the repository
(neither scoped nor ID formatted)
Parameters: search_name - the name to look for Parameters: levels_to_search - if 1, search only this object, if -1, searchall containers contained in this repository, else searchuntil the specified depth is reached Parameters: limit_type - limit the description to objects of this type Parameters: exclude_inherited - exclude inherited items from the description an array of items with the specified name |
|
|