org.openorb.trader.repository
Class Repository
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.CosTradingRepos.ServiceTypeRepositoryPOA
|
+--org.openorb.trader.repository.Repository
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, org.apache.avalon.framework.logger.LogEnabled, ServiceTypeRepositoryOperations
- public class Repository
- extends ServiceTypeRepositoryPOA
- implements org.apache.avalon.framework.logger.LogEnabled
This class provides the ServiceType repository implementation.
- Author:
- Jerome Daniel
|
Constructor Summary |
Repository(org.omg.CORBA.Repository ir,
java.lang.String connector_prefix,
org.omg.CORBA.ORB orb)
|
| Methods inherited from class org.omg.PortableServer.Servant |
_default_POA, _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 |
Repository
public Repository(org.omg.CORBA.Repository ir,
java.lang.String connector_prefix,
org.omg.CORBA.ORB orb)
enableLogging
public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
- Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled
getLogger
public org.apache.avalon.framework.logger.Logger getLogger()
incarnation
public IncarnationNumber incarnation()
- Return the incarnation number
- Following copied from interface:
org.omg.CosTradingRepos.ServiceTypeRepositoryOperations
- Returns:
- the attribute value
add_type
public IncarnationNumber add_type(java.lang.String name,
java.lang.String if_name,
PropStruct[] props,
java.lang.String[] super_types)
throws IllegalServiceType,
ServiceTypeExists,
InterfaceTypeMismatch,
IllegalPropertyName,
DuplicatePropertyName,
ValueTypeRedefinition,
UnknownServiceType,
DuplicateServiceTypeName
- Adds a service type description
remove_type
public void remove_type(java.lang.String name)
throws IllegalServiceType,
UnknownServiceType,
HasSubTypes
- Removes a service type description
list_types
public java.lang.String[] list_types(SpecifiedServiceTypes which_types)
- Lists all available types
describe_type
public TypeStruct describe_type(java.lang.String name)
throws IllegalServiceType,
UnknownServiceType
- Describes a service type
fully_describe_type
public TypeStruct fully_describe_type(java.lang.String name)
throws IllegalServiceType,
UnknownServiceType
- Fully describes a service type ( includes inherited properties and all inheritances
- direct and indirect - )
mask_type
public void mask_type(java.lang.String name)
throws IllegalServiceType,
UnknownServiceType,
AlreadyMasked
- This operation masks a type
unmask_type
public void unmask_type(java.lang.String name)
throws IllegalServiceType,
UnknownServiceType,
NotMasked
- This operation unmarsk a type