org.apache.muse.ws.resource.properties.get
Interface GetCapability

All Superinterfaces:
Capability, GetMultipleResourceProperties, GetResourceProperty, GetResourcePropertyDocument, Initialization, InitializationParameters, Shutdown, WsResourceCapability
All Known Implementing Classes:
SimpleGetCapability

public interface GetCapability
extends WsResourceCapability, GetMultipleResourceProperties, GetResourceProperty, GetResourcePropertyDocument

GetCapability allows resources to expose the "get" operations defined by WS-RP - GetMultipleResourceProperties, GetResourceProperty, and GetResourcePropertyDocument. These three operations are the "read-only" part of the WS-RP spec that do not require the support of some kind of query dialect (which usually adds the burden of processing overhead and libraries to evaluate the queries).

Author:
Dan Jemiolo (danj)

Method Summary
 void deleteProperty(QName property)
           
 Element[] getProperty(QName property)
           
 QName[] getPropertyNames()
          Concrete capability classes that define properties MUST override this method and provide the names of the properties.
 void insertProperty(QName property, Element[] values)
           
 void updateProperty(QName property, Element[] values)
           
 
Methods inherited from interface org.apache.muse.ws.resource.WsResourceCapability
getWsResource
 
Methods inherited from interface org.apache.muse.core.Capability
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence, setResource
 
Methods inherited from interface org.apache.muse.core.Initialization
hasBeenInitialized, initialize
 
Methods inherited from interface org.apache.muse.core.InitializationParameters
getInitializationParameter, getInitializationParameters, setInitializationParameters
 
Methods inherited from interface org.apache.muse.core.Shutdown
hasBeenShutdown, shutdown
 
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.GetResourcePropertyDocument
getResourcePropertyDocument
 

Method Detail

deleteProperty

void deleteProperty(QName property)
                    throws BaseFault
Throws:
BaseFault

getProperty

Element[] getProperty(QName property)
                      throws BaseFault
Throws:
BaseFault

getPropertyNames

QName[] getPropertyNames()
Concrete capability classes that define properties MUST override this method and provide the names of the properties.

Returns:
The names of the resource properties defined by this capability.

insertProperty

void insertProperty(QName property,
                    Element[] values)
                    throws BaseFault
Throws:
BaseFault

updateProperty

void updateProperty(QName property,
                    Element[] values)
                    throws BaseFault
Throws:
BaseFault


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