org.apache.muse.ws.dm.muws.impl
Class SimpleManageabilityCharacteristics

java.lang.Object
  extended by org.apache.muse.core.AbstractCapability
      extended by org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
          extended by org.apache.muse.ws.dm.muws.impl.AbstractManageabilityCapability
              extended by org.apache.muse.ws.dm.muws.impl.SimpleManageabilityCharacteristics
All Implemented Interfaces:
Capability, Initialization, InitializationParameters, Shutdown, ManageabilityCapability, ManageabilityCharacteristics, WsResourceCapability

public class SimpleManageabilityCharacteristics
extends AbstractManageabilityCapability
implements ManageabilityCharacteristics

SimpleManageabilityCharacteristics is Muse's default implementation of the WSDM ManageabilityCharacteristics capability.

Author:
Dan Jemiolo (danj)

Field Summary
 
Fields inherited from interface org.apache.muse.ws.dm.muws.ManageabilityCharacteristics
PROPERTIES
 
Constructor Summary
SimpleManageabilityCharacteristics()
           
 
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 class org.apache.muse.ws.dm.muws.impl.AbstractManageabilityCapability
initializeCompleted
 
Methods inherited from class org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
createGettersAndSetters, deleteProperty, getGetter, getProperty, getPropertyElements, getSetter, getWsResource, initialize, insertProperty, invokeMethod, setResource, updateProperty
 
Methods inherited from class org.apache.muse.core.AbstractCapability
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, prepareShutdown, setCapabilityURI, setEnvironment, setInitializationParameters, setLog, setMessageHandler, setMessageHandlers, setPersistence, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Constructor Detail

SimpleManageabilityCharacteristics

public SimpleManageabilityCharacteristics()
Method Detail

addManageabilityCapability

public void addManageabilityCapability(String capabilityURI)
Specified by:
addManageabilityCapability in interface ManageabilityCharacteristics
Parameters:
capabilityURI - A URI representing one of the manageability capabilities that is implemented by the resource.

getManageabilityCapability

public String[] getManageabilityCapability()
Specified by:
getManageabilityCapability in interface ManageabilityCharacteristics
Returns:
An array of URIs (strings), where each URI defines one manageability capability exposed by the resource.

getPropertyNames

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

Overrides:
getPropertyNames in class AbstractWsResourceCapability
Returns:
The names of the resource properties defined by this capability.

hasManageabilityCapability

public boolean hasManageabilityCapability(String capabilityURI)
Specified by:
hasManageabilityCapability in interface ManageabilityCharacteristics
Returns:
True, if the URI has been added to the list of capability URIs.

deleteProperty

public void deleteProperty(QName property)
                    throws BaseFault
Throws:
BaseFault

getProperty

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

insertProperty

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

updateProperty

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


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