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(Representation initRepresentation)
Creates new Representation object from initRepresenation.
|
void |
delete(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
Deletes Representation object given by reference parameter.
|
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,
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 Representation get(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
ResourceManagerget in interface ResourceManagerref - Reference parameter returned by create method.ResourceManager#create(org.apache.cxf.ws.transfer.Representation)public void delete(org.apache.cxf.ws.addressing.ReferenceParametersType ref)
ResourceManagerdelete in interface ResourceManagerref - Reference parameter returned by create method.ResourceManager#create(org.apache.cxf.ws.transfer.Representation)public void put(org.apache.cxf.ws.addressing.ReferenceParametersType ref,
Representation newRepresentation)
ResourceManagerput in interface ResourceManagerref - 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(Representation initRepresentation)
ResourceManagercreate in interface ResourceManagerinitRepresentation - Representation object containing initial XML resource.Apache CXF