org.apache.muse.ws.dm.muws
Interface ManageabilityCharacteristics

All Superinterfaces:
Capability, Initialization, InitializationParameters, ManageabilityCapability, Shutdown, WsResourceCapability
All Known Implementing Classes:
SimpleManageabilityCharacteristics

public interface ManageabilityCharacteristics
extends ManageabilityCapability

This interface represents the WSDM ManageabilityCharacteristics capability. It provides convenience methods for accessing its one property, muws1:ManageabilityCapability. Note that the values of this property are not set by this capability but by other capabilities that are registering themselves with the resource; this capability merely provides a method for storing and reading those values.

Author:
Dan Jemiolo (danj)

Field Summary
static QName[] PROPERTIES
           
 
Method Summary
 void addManageabilityCapability(String capabilityURI)
           
 void deleteProperty(QName property)
           
 String[] getManageabilityCapability()
           
 Element[] getProperty(QName property)
           
 QName[] getPropertyNames()
          Concrete capability classes that define properties MUST override this method and provide the names of the properties.
 boolean hasManageabilityCapability(String capabilityURI)
           
 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
 

Field Detail

PROPERTIES

static final QName[] PROPERTIES
Method Detail

addManageabilityCapability

void addManageabilityCapability(String capabilityURI)
                                throws BaseFault
Parameters:
capabilityURI - A URI representing one of the manageability capabilities that is implemented by the resource.
Throws:
BaseFault -
  • If the URI has already been added to the list.

getManageabilityCapability

String[] getManageabilityCapability()
                                    throws BaseFault
Returns:
An array of URIs (strings), where each URI defines one manageability capability exposed by the resource.
Throws:
BaseFault

hasManageabilityCapability

boolean hasManageabilityCapability(String capabilityURI)
                                   throws BaseFault
Parameters:
capabilityURI -
Returns:
True, if the URI has been added to the list of capability URIs.
Throws:
BaseFault

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.