Class MemoryResourceManager
java.lang.Object
org.apache.cxf.ws.transfer.manager.MemoryResourceManager
- All Implemented Interfaces:
ResourceManager
In memory implementation for ResourceManager interface.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.cxf.ws.addressing.ReferenceParametersTypecreate(org.apache.cxf.ws.transfer.Representation initRepresentation) Creates new Representation object from initRepresenation.voiddelete(org.apache.cxf.ws.addressing.ReferenceParametersType ref) Deletes Representation object given by reference parameter.org.apache.cxf.ws.transfer.Representationget(org.apache.cxf.ws.addressing.ReferenceParametersType ref) Returns Representation object given by reference parameter.voidput(org.apache.cxf.ws.addressing.ReferenceParametersType ref, org.apache.cxf.ws.transfer.Representation newRepresentation) Replaces Representation object given by reference parameter with newRepresentation.
-
Field Details
-
REF_NAMESPACE
- See Also:
-
REF_LOCAL_NAME
- See Also:
-
storage
-
-
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:ResourceManagerReturns Representation object given by reference parameter.- Specified by:
getin interfaceResourceManager- 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:ResourceManagerDeletes Representation object given by reference parameter.- Specified by:
deletein interfaceResourceManager- 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:ResourceManagerReplaces Representation object given by reference parameter with newRepresentation.- Specified by:
putin interfaceResourceManager- 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:ResourceManagerCreates new Representation object from initRepresenation.- Specified by:
createin interfaceResourceManager- Parameters:
initRepresentation- Representation object containing initial XML resource.- Returns:
- Reference parameter for newly created Representation object.
-