Interface ResourceManager
- All Known Implementing Classes:
MemoryResourceManager
public interface ResourceManager
Interface for managing resource representations.
-
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.
-
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.
-