Class SimpleResourceResolver

  • All Implemented Interfaces:
    ResourceResolver

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

      • SimpleResourceResolver

        public SimpleResourceResolver()
      • SimpleResourceResolver

        public SimpleResourceResolver​(String resourceURL)
      • SimpleResourceResolver

        public SimpleResourceResolver​(String resourceURL,
                                      ResourceManager resourceManager)
    • Method Detail

      • 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)
      • setResourceManager

        public void setResourceManager​(ResourceManager resourceManager)