public class MemoryResourceManager extends Object implements ResourceManager
Modifier and Type | Field and Description |
---|---|
static String |
REF_LOCAL_NAME |
static String |
REF_NAMESPACE |
protected Map<String,String> |
storage |
Constructor and Description |
---|
MemoryResourceManager() |
Modifier and Type | Method and 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.
|
public static final String REF_NAMESPACE
public static final String REF_LOCAL_NAME
public org.apache.cxf.ws.transfer.Representation get(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
ResourceManager
get
in interface ResourceManager
ref
- Reference parameter returned by create method.ResourceManager.create(org.apache.cxf.ws.transfer.Representation)
public void delete(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
ResourceManager
delete
in interface ResourceManager
ref
- Reference parameter returned by create method.ResourceManager.create(org.apache.cxf.ws.transfer.Representation)
public void put(org.apache.cxf.ws.addressing.ReferenceParametersType ref, org.apache.cxf.ws.transfer.Representation newRepresentation)
ResourceManager
put
in interface ResourceManager
ref
- Reference parameter returned by create method.newRepresentation
- New Representation object, which will replace the old one.ResourceManager.create(org.apache.cxf.ws.transfer.Representation)
public org.apache.cxf.ws.addressing.ReferenceParametersType create(org.apache.cxf.ws.transfer.Representation initRepresentation)
ResourceManager
create
in interface ResourceManager
initRepresentation
- Representation object containing initial XML resource.Apache CXF