org.apache.muse.ws.resource.properties
Interface ResourcePropertyCollection

All Superinterfaces:
GetMultipleResourceProperties, GetResourceProperty, GetResourcePropertyDocument, GetResourcePropertyExtensions, PutResourcePropertyDocument, ResourcePropertiesMetadataValidation, ResourcePropertiesSchemaValidation, ResourcePropertyListeners, SetResourceProperties, SetResourcePropertiesComponents, SetResourcePropertiesExtensions, SetResourcePropertiesPermissions, XmlSerializable
All Known Implementing Classes:
SimpleResourcePropertyCollection

public interface ResourcePropertyCollection
extends GetMultipleResourceProperties, GetResourceProperty, GetResourcePropertyExtensions, GetResourcePropertyDocument, PutResourcePropertyDocument, SetResourceProperties, SetResourcePropertiesComponents, SetResourcePropertiesExtensions, SetResourcePropertiesPermissions, ResourcePropertyListeners, ResourcePropertiesMetadataValidation, ResourcePropertiesSchemaValidation, XmlSerializable

ResourcePropertyCollection is the WSRP-based state model that is used by all WS-resources. It does not imply or require the use of any WSRP capabilities for remote clients; users must specify said capabilities in muse.xml (with the capability tag) if they want to do this.

The ResourcePropertyCollection provides a single, generic interface for reading and writing resource properties that are spread across disparate Capability objects. Read and write requests will be delegated to the appropriate capabilities after all schema and metadata validation is done. This interface also implies the use of various listeners, which allow users to hook into the read and write requests at various points to respond to them with their own code. The crux of the ResourcePropertyCollection's role, then, is the administrative and plumbing tasks necessary to read, write, validate, and report on resource properties, but not the actual storage of the properties themselves.

Author:
Dan Jemiolo (danj)

Method Summary
 
Methods inherited from interface org.apache.muse.ws.resource.properties.get.GetMultipleResourceProperties
getMultipleResourceProperties
 
Methods inherited from interface org.apache.muse.ws.resource.properties.get.GetResourceProperty
getResourceProperty
 
Methods inherited from interface org.apache.muse.ws.resource.properties.get.ext.GetResourcePropertyExtensions
getPropertyAsObject
 
Methods inherited from interface org.apache.muse.ws.resource.properties.get.GetResourcePropertyDocument
getResourcePropertyDocument
 
Methods inherited from interface org.apache.muse.ws.resource.properties.set.PutResourcePropertyDocument
putResourcePropertyDocument
 
Methods inherited from interface org.apache.muse.ws.resource.properties.set.SetResourceProperties
setResourceProperties
 
Methods inherited from interface org.apache.muse.ws.resource.properties.set.SetResourcePropertiesComponents
deleteResourceProperty, insertResourceProperty, updateResourceProperty
 
Methods inherited from interface org.apache.muse.ws.resource.properties.set.ext.SetResourcePropertiesExtensions
insertOrUpdate, insertOrUpdate
 
Methods inherited from interface org.apache.muse.ws.resource.properties.set.SetResourcePropertiesPermissions
deleteResourceProperty, getSecurityToken, insertResourceProperty, updateResourceProperty
 
Methods inherited from interface org.apache.muse.ws.resource.properties.listeners.ResourcePropertyListeners
addChangeApprover, addChangeListener, addReadListener, getChangeApprovers, getChangeListeners, getReadListeners, removeChangeApprover, removeChangeListener, removeReadListener
 
Methods inherited from interface org.apache.muse.ws.resource.metadata.ResourcePropertiesMetadataValidation
applyMetadata, getMetadata, setMetadata, validateMetadata
 
Methods inherited from interface org.apache.muse.ws.resource.properties.schema.ResourcePropertiesSchemaValidation
addCapability, getCapability, getPropertyNames, getSchema, hasPropertyDefinition, setSchema, validateSchema
 
Methods inherited from interface org.apache.muse.util.xml.XmlSerializable
toXML, toXML
 



Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.