org.apache.muse.ws.resource
Interface WsResource
- All Superinterfaces:
- Initialization, InitializationParameters, Resource, Shutdown
- All Known Implementing Classes:
- SimpleWsResource
public interface WsResource
- extends Resource
WsResource is an extension of the core Muse Resource component. It adds the
concept of a state model via WS-ResourceProperties. Note that the addition
of the WSRP ResourcePropertyCollection does not imply that WsResource
resource types have to expose any of the WSRP capabilities. The state model
will be available no matter how many WSRP capabilities are exposed to remote
clients, if any; the WSRP capabilities themselves will simply push down on
the ResourcePropertyCollection as part of their implementations.
- Author:
- Dan Jemiolo (danj)
Methods inherited from interface org.apache.muse.core.Resource |
getContextPath, getEndpointReference, getEnvironment, getLog, getResourceManager, getWsdlPath, getWsdlPortType, invoke, setContextPath, setEndpointReference, setEnvironment, setLog, setResourceManager, setWsdlPath, setWsdlPortType |
getPropertyCollection
ResourcePropertyCollection getPropertyCollection()
- Returns:
- The internal WSRP state model - despite the fact that this has
all of the WSRP operations available, none of them is exposed
to remote clients until one or more of the WSRP capabilities
is used in the resource's definition.
- See Also:
GetCapability
,
QueryCapability
,
SetCapability
addCapability
void addCapability(Capability capability)
- Registers the given capability instance with the resource.
- Parameters:
capability
-
getCapability
Capability getCapability(String capabilityURI)
- Parameters:
capabilityURI
-
- Returns:
- The Capability associated with the given URI, or null if
no such capability exists.
getCapabilityURIs
Collection getCapabilityURIs()
- Returns:
- The URIs of all of the capabilities added to the resource.
hasCapability
boolean hasCapability(String capabilityURI)
- Parameters:
capabilityURI
-
- Returns:
- True, if getCapability(String) returns a non-null value.
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.