org.apache.muse.ws.notification.impl
Class SimplePullPointCreation
java.lang.Object
org.apache.muse.core.AbstractCapability
org.apache.muse.ws.resource.impl.AbstractWsResourceCapability
org.apache.muse.ws.notification.impl.SimplePullPointCreation
- All Implemented Interfaces:
- Capability, Initialization, InitializationParameters, Shutdown, PullPointCreation, WsResourceCapability
public class SimplePullPointCreation
- extends AbstractWsResourceCapability
- implements PullPointCreation
SimplePullPointCreation is Muse's default implementation of the
WS-Notification PullPointCreation port type.
Resources that implement this port type should be deployed with the
PullPoint type as well; the pullpoint resources
cannot be managed without this endpoint.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class org.apache.muse.ws.resource.impl.AbstractWsResourceCapability |
createGettersAndSetters, deleteProperty, getGetter, getProperty, getPropertyElements, getPropertyNames, getSetter, getWsResource, insertProperty, invokeMethod, setResource, updateProperty |
Methods inherited from class org.apache.muse.core.AbstractCapability |
getActions, getCapabilityURI, getEnvironment, getInitializationParameter, getInitializationParameters, getLog, getMessageHandler, getPersistence, getResource, hasBeenInitialized, hasBeenShutdown, initializeCompleted, 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.core.Capability |
getActions, getCapabilityURI, getEnvironment, getLog, getMessageHandler, getPersistence, getResource, initializeCompleted, prepareShutdown, setCapabilityURI, setEnvironment, setLog, setMessageHandlers, setPersistence, setResource |
SimplePullPointCreation
public SimplePullPointCreation()
createPullPoint
public EndpointReference createPullPoint()
throws UnableToCreatePullPointFault
- Description copied from interface:
PullPointCreation
- Instantiates a new instance of a pullpoint resource that can be
used to store messages from one or more resources.
- Specified by:
createPullPoint
in interface PullPointCreation
- Returns:
- The EPR of the new pullpoint resource.
- Throws:
UnableToCreatePullPointFault
getPullPointContextPath
protected String getPullPointContextPath()
initialize
public void initialize()
throws SoapFault
- Description copied from class:
AbstractWsResourceCapability
-
AbstractWsResourceCapability continues the initialization process
by inspecting the concrete class to find all of the getters (and,
if applicable, setters) for its resource properties. It then
registers itself with the resource's WSRP collection so that read
and write requests for its properties are delegated to it.
- Specified by:
initialize
in interface Initialization
- Overrides:
initialize
in class AbstractWsResourceCapability
- Throws:
SoapFault
deleteProperty
public void deleteProperty(QName property)
throws BaseFault
- Throws:
BaseFault
getProperty
public Element[] getProperty(QName property)
throws BaseFault
- Throws:
BaseFault
getPropertyNames
public 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
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.