Class SimpleResourceResolver
java.lang.Object
org.apache.cxf.ws.transfer.resourcefactory.resolver.SimpleResourceResolver
- All Implemented Interfaces:
ResourceResolver
The simple ResourceResolver, which always returns a predefined resource
location.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSimpleResourceResolver(String resourceURL) SimpleResourceResolver(String resourceURL, ResourceManager resourceManager) -
Method Summary
Modifier and TypeMethodDescriptionresolve(org.apache.cxf.ws.transfer.Create body) Method for resolving, where the Resource will be created.voidsetResourceManager(ResourceManager resourceManager) voidsetResourceURL(String resourceURL)
-
Field Details
-
resourceManager
-
resourceURL
-
-
Constructor Details
-
SimpleResourceResolver
public SimpleResourceResolver() -
SimpleResourceResolver
-
SimpleResourceResolver
-
-
Method Details
-
resolve
Description copied from interface:ResourceResolverMethod for resolving, where the Resource will be created.- Specified by:
resolvein interfaceResourceResolver- Parameters:
body- SOAP body- Returns:
- ResourceReference object. If the Resource should be created locally, so the ResourceReference object must contain address and reference to the ResourceManager object. Otherwise the ResourceReference must contain only the address to the ResourceRemote endpoint.
-
getResourceURL
-
setResourceURL
-
getResourceManager
-
setResourceManager
-