org.openorb.property
Class PropertySetDefFactoryImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosPropertyService.PropertySetDefFactoryPOA
          extended by org.openorb.property.PropertySetDefFactoryImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, PropertySetDefFactoryOperations

public class PropertySetDefFactoryImpl
extends PropertySetDefFactoryPOA

PropertySetDefFactory is an implementation of the org.omg.CosPropertyService.PropertySetDefFactory interface.

PropertySetDefFactory provides an interface for creating PropertySetDefs.

It should be noted that deletion of initial or allowed properties is tied to the property mode setting for that property. In other words, initial or allowed properties are not inherently safe from deletion.

Author:
Jerome Daniel, Terence Song

Constructor Summary
PropertySetDefFactoryImpl(org.omg.CORBA.ORB orb)
          Creates a new instance of PropertySetDefFactoryImpl.
 
Method Summary
 PropertySetDef create_constrained_propertysetdef(org.omg.CORBA.TypeCode[] allowed_property_types, PropertyDef[] allowed_property_defs)
          The create_constrained_propertysetdef operation allows a client to create a new PropertySetDef with specific constraints, including property modes.
 PropertySetDef create_initial_propertysetdef(PropertyDef[] initial_property_defs)
          The create_initial_propertysetdef operation allows a client to create a new PropertySetDef with specific initial properties, including property modes.
 PropertySetDef create_propertysetdef()
          The create_propertysetdef operation returns a new PropertySetDef.
 
Methods inherited from class org.omg.CosPropertyService.PropertySetDefFactoryPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertySetDefFactoryImpl

public PropertySetDefFactoryImpl(org.omg.CORBA.ORB orb)
Creates a new instance of PropertySetDefFactoryImpl.

Parameters:
orb - the CORBA ORB.
Method Detail

create_propertysetdef

public PropertySetDef create_propertysetdef()
The create_propertysetdef operation returns a new PropertySetDef. It is considered an implementation issue as to whether the PropertySetDef contains any initial properties or has constraints.

Returns:
the PropertySetDef.

create_constrained_propertysetdef

public PropertySetDef create_constrained_propertysetdef(org.omg.CORBA.TypeCode[] allowed_property_types,
                                                        PropertyDef[] allowed_property_defs)
                                                 throws ConstraintNotSupported
The create_constrained_propertysetdef operation allows a client to create a new PropertySetDef with specific constraints, including property modes.

Parameters:
allowed_property_types - the sequence of allowed proeprty types.
allowed_property_defs - the sequence of allowed property definitions.
Returns:
the PropertySetDef.
Throws:
ConstraintNotSupported - Indicates that either the allowed_property_types, or allowed_property_defs, parameter could not be supported by the PropertySetDef.

create_initial_propertysetdef

public PropertySetDef create_initial_propertysetdef(PropertyDef[] initial_property_defs)
                                             throws MultipleExceptions
The create_initial_propertysetdef operation allows a client to create a new PropertySetDef with specific initial properties, including property modes.

Parameters:
initial_property_defs - the sequence of initial property definitions.
Returns:
the PropertySetDef.
Throws:
MultipleExceptions - if exceptions occurred while initializing the PropertySetDef with the specified property definitions.