Class MemoryResourceManager

java.lang.Object
org.apache.cxf.ws.transfer.manager.MemoryResourceManager
All Implemented Interfaces:
ResourceManager

public class MemoryResourceManager extends Object implements ResourceManager
In memory implementation for ResourceManager interface.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    protected final Map<String,String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • MemoryResourceManager

      public MemoryResourceManager()
  • Method Details

    • get

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

      public void delete(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
      Description copied from interface: ResourceManager
      Deletes Representation object given by reference parameter.
      Specified by:
      delete in interface ResourceManager
      Parameters:
      ref - Reference parameter returned by create method.
      See Also:
    • put

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

      public org.apache.cxf.ws.addressing.ReferenceParametersType create(org.apache.cxf.ws.transfer.Representation initRepresentation)
      Description copied from interface: ResourceManager
      Creates new Representation object from initRepresenation.
      Specified by:
      create in interface ResourceManager
      Parameters:
      initRepresentation - Representation object containing initial XML resource.
      Returns:
      Reference parameter for newly created Representation object.