|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySet
The PropertySet
interface provides operations to define
and modify properties, list and get properties, and delete properties.
The PropertySet
interface also provides "batch" operations,
such as define_properties
, to deal with sets of properties
as a whole. The execution of the "batch" operations is considered best
effort (i.e., not an atomic set) in that not all suboperations need
succeed for any suboperation to succeed.
For define_properties
and delete_properties
,
if any suboperation fails, a MultipleExceptions
exception
is returned to identify which property name had which exception.
For example, a client may invoke define_properties
using
three property structures. The first property could be accepted (added
or modified), the second could fail due to an InvalidPropertyName
,
and the third could fail due to a ConflictingProperty
. In
this case a property is either added or modified in the PropertySet
,
and a MultipleExceptions
is raised with two items in the
PropertyExceptions
sequence.
The get_properties
and delete_all_properties
"batch" operations utilize a boolean
flag to identify that
mixed results occurred and additional processing may be required to fully
analyze the exceptions.
Making "batch" operations behave in an atomic manner is considered an implementation issue that could be accomplished via specialization of this property service.
Method Summary |
---|
Methods inherited from interface org.omg.CosPropertyService.PropertySetOperations |
---|
define_properties, define_property, delete_all_properties, delete_properties, delete_property, get_all_properties, get_all_property_names, get_number_of_properties, get_properties, get_property_value, is_property_defined |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |