Interface ResourceManager

All Known Implementing Classes:
MemoryResourceManager

public interface ResourceManager
Interface for managing resource representations.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.cxf.ws.addressing.ReferenceParametersType
    create(org.apache.cxf.ws.transfer.Representation initRepresentation)
    Creates new Representation object from initRepresenation.
    void
    delete(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
    Deletes Representation object given by reference parameter.
    org.apache.cxf.ws.transfer.Representation
    get(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
    Returns Representation object given by reference parameter.
    void
    put(org.apache.cxf.ws.addressing.ReferenceParametersType ref, org.apache.cxf.ws.transfer.Representation newRepresentation)
    Replaces Representation object given by reference parameter with newRepresentation.
  • Method Details

    • get

      org.apache.cxf.ws.transfer.Representation get(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
      Returns Representation object given by reference parameter.
      Parameters:
      ref - Reference parameter returned by create method.
      Returns:
      Representation object containing the XML resource.
      See Also:
    • delete

      void delete(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
      Deletes Representation object given by reference parameter.
      Parameters:
      ref - Reference parameter returned by create method.
      See Also:
    • put

      void put(org.apache.cxf.ws.addressing.ReferenceParametersType ref, org.apache.cxf.ws.transfer.Representation newRepresentation)
      Replaces Representation object given by reference parameter with newRepresentation.
      Parameters:
      ref - Reference parameter returned by create method.
      newRepresentation - New Representation object, which will replace the old one.
      See Also:
    • create

      org.apache.cxf.ws.addressing.ReferenceParametersType create(org.apache.cxf.ws.transfer.Representation initRepresentation)
      Creates new Representation object from initRepresenation.
      Parameters:
      initRepresentation - Representation object containing initial XML resource.
      Returns:
      Reference parameter for newly created Representation object.