Interface ResourceManager
-
- All Known Implementing Classes:
MemoryResourceManager
public interface ResourceManagerInterface for managing resource representations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.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 Detail
-
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:
create(org.apache.cxf.ws.transfer.Representation)
-
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:
create(org.apache.cxf.ws.transfer.Representation)
-
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.transfer.Representation)
-
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.
-
-