Class SimpleResourceResolver

java.lang.Object
org.apache.cxf.ws.transfer.resourcefactory.resolver.SimpleResourceResolver
All Implemented Interfaces:
ResourceResolver

public class SimpleResourceResolver extends Object implements ResourceResolver
The simple ResourceResolver, which always returns a predefined resource location.
  • Field Details

  • Constructor Details

    • SimpleResourceResolver

      public SimpleResourceResolver()
    • SimpleResourceResolver

      public SimpleResourceResolver(String resourceURL)
    • SimpleResourceResolver

      public SimpleResourceResolver(String resourceURL, ResourceManager resourceManager)
  • Method Details

    • resolve

      public ResourceReference resolve(org.apache.cxf.ws.transfer.Create body)
      Description copied from interface: ResourceResolver
      Method for resolving, where the Resource will be created.
      Specified by:
      resolve in interface ResourceResolver
      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

      public String getResourceURL()
    • setResourceURL

      public void setResourceURL(String resourceURL)
    • getResourceManager

      public ResourceManager getResourceManager()
    • setResourceManager

      public void setResourceManager(ResourceManager resourceManager)