Spring Integration

org.springframework.integration.store
Class SimpleMetadataStore

java.lang.Object
  extended by org.springframework.integration.store.SimpleMetadataStore
All Implemented Interfaces:
MetadataStore

public class SimpleMetadataStore
extends java.lang.Object
implements MetadataStore

Simple implementation of MetadataStore that uses an in-memory map only. The metadata will not be persisted across application restarts.

Since:
2.0
Author:
Mark Fisher

Constructor Summary
SimpleMetadataStore()
           
 
Method Summary
 java.lang.String get(java.lang.String key)
          Reads a value for the given key from this MetadataStore.
 void put(java.lang.String key, java.lang.String value)
          Writes a key value pair to this MetadataStore.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMetadataStore

public SimpleMetadataStore()
Method Detail

put

public void put(java.lang.String key,
                java.lang.String value)
Description copied from interface: MetadataStore
Writes a key value pair to this MetadataStore.

Specified by:
put in interface MetadataStore

get

public java.lang.String get(java.lang.String key)
Description copied from interface: MetadataStore
Reads a value for the given key from this MetadataStore.

Specified by:
get in interface MetadataStore

Spring Integration