org.openorb.trader.repository

Class Repository

public class Repository extends ServiceTypeRepositoryPOA implements LogEnabled

This class provides the ServiceType repository implementation.

Author: Jerome Daniel

Constructor Summary
Repository(Repository ir, String connector_prefix, ORB orb)
Method Summary
IncarnationNumberadd_type(String name, String if_name, PropStruct[] props, String[] super_types)
Adds a service type description
TypeStructdescribe_type(String name)
Describes a service type
voidenableLogging(Logger logger)
TypeStructfully_describe_type(String name)
Fully describes a service type ( includes inherited properties and all inheritances - direct and indirect - )
LoggergetLogger()
IncarnationNumberincarnation()
Return the incarnation number
String[]list_types(SpecifiedServiceTypes which_types)
Lists all available types
voidmask_type(String name)
This operation masks a type
voidremove_type(String name)
Removes a service type description
voidunmask_type(String name)
This operation unmarsk a type

Constructor Detail

Repository

public Repository(Repository ir, String connector_prefix, ORB orb)

Method Detail

add_type

public IncarnationNumber add_type(String name, String if_name, PropStruct[] props, String[] super_types)
Adds a service type description

describe_type

public TypeStruct describe_type(String name)
Describes a service type

enableLogging

public void enableLogging(Logger logger)

fully_describe_type

public TypeStruct fully_describe_type(String name)
Fully describes a service type ( includes inherited properties and all inheritances - direct and indirect - )

getLogger

public Logger getLogger()

incarnation

public IncarnationNumber incarnation()
Return the incarnation number

list_types

public String[] list_types(SpecifiedServiceTypes which_types)
Lists all available types

mask_type

public void mask_type(String name)
This operation masks a type

remove_type

public void remove_type(String name)
Removes a service type description

unmask_type

public void unmask_type(String name)
This operation unmarsk a type