org.openorb.property
Class PropertySetFactoryImpl
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.CosPropertyService.PropertySetFactoryPOA
|
+--org.openorb.property.PropertySetFactoryImpl
- All Implemented Interfaces:
- org.omg.CORBA.portable.InvokeHandler, PropertySetFactoryOperations
- public class PropertySetFactoryImpl
- extends PropertySetFactoryPOA
PropertySetFactoryImpl is an implementation of the
org.omg.CosPropertyService.PropertySetFactory interface.
PropertySetFactory provides an interface for creating
PropertySets. The relationship of a PropertySet
to a specific object is an implementation issue.
Deletion of any initial properties is an implementation concern.
For example, an implementation may choose to initialize the
PropertySet with a set of fixed_readonly
properties for create_propertyset or choose to
initialize all allowed_properties to be
fixed_normal for create_constrained_propertyset.
- Author:
- Jerome Daniel, Terence Song
|
Constructor Summary |
PropertySetFactoryImpl(org.omg.CORBA.ORB orb)
Creates a new instance of PropertySetFactoryImpl. |
| 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 |
PropertySetFactoryImpl
public PropertySetFactoryImpl(org.omg.CORBA.ORB orb)
- Creates a new instance of
PropertySetFactoryImpl.
- Parameters:
orb - the CORBA ORB.
create_propertyset
public PropertySet create_propertyset()
- The
create_propertyset operation returns a new
PropertySet. It is considered an implementation
issue as to whether the PropertySet contains any
initial properties or has constraints.
- Returns:
- the
PropertySet.
create_constrained_propertyset
public PropertySet create_constrained_propertyset(org.omg.CORBA.TypeCode[] allowed_property_types,
Property[] allowed_properties)
throws ConstraintNotSupported
- The
create_constrained_propertyset operation allows
a client to create a new PropertySet with specific
constraints. The modes associated with the allowed properties is
considered an implementation issue.
- Parameters:
allowed_property_types - the sequence of allowed property types.allowed_properties - the sequence of allowed properties.- Returns:
- the
PropertySet. - Throws:
ConstraintNotSupported - Indicates that either the
allowed_property_types, or allowed_properties,
parameter could not be supported by the PropertySet.
create_initial_propertyset
public PropertySet create_initial_propertyset(Property[] initial_properties)
throws MultipleExceptions
- The
create_initial_propertyset operation allows a
client to create a new PropertySet with specific
initial properties. The modes associated with the initial
properties is considered an implementation issue.
- Parameters:
initial_properties - the sequence of initial properties.- Returns:
- the
PropertySet. - Throws:
MultipleExceptions - if exceptions occurred while
initializing the PropertySet with the specified property
definitions.