org.openorb.property
Class PropertySetDefFactoryImpl
java.lang.Object
|
+--org.omg.PortableServer.Servant
|
+--org.omg.CosPropertyService.PropertySetDefFactoryPOA
|
+--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
| 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 |
PropertySetDefFactoryImpl
public PropertySetDefFactoryImpl(org.omg.CORBA.ORB orb)
- Creates a new instance of
PropertySetDefFactoryImpl.
- Parameters:
orb - the CORBA ORB.
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.