Class BasicTransactionConverter<V extends BasicTransaction>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- org.oa4mp.delegation.common.storage.transactions.BasicTransactionConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
- Direct Known Subclasses:
ServiceTransactionConverter
public class BasicTransactionConverter<V extends BasicTransaction> extends edu.uiuc.ncsa.security.storage.data.MapConverter<V>
A map converter bridging the gap between the interface and the backing store.Created by Jeff Gaynor
on 4/13/12 at 3:08 PM
-
-
Field Summary
Fields Modifier and Type Field Description protected TokenForge
tokenForge
-
Constructor Summary
Constructors Constructor Description BasicTransactionConverter(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, TokenForge tokenForge)
BasicTransactionConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, TokenForge tokenForge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data, V v)
protected BasicTransactionKeys
getBTKeys()
TokenForge
getTokenForge()
void
toMap(V value, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data)
-
-
-
Field Detail
-
tokenForge
protected TokenForge tokenForge
-
-
Constructor Detail
-
BasicTransactionConverter
public BasicTransactionConverter(edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, TokenForge tokenForge)
-
BasicTransactionConverter
public BasicTransactionConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, TokenForge tokenForge)
-
-
Method Detail
-
getTokenForge
public TokenForge getTokenForge()
-
getBTKeys
protected BasicTransactionKeys getBTKeys()
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data, V v)
- Overrides:
fromMap
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends BasicTransaction>
-
toMap
public void toMap(V value, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> data)
- Overrides:
toMap
in classedu.uiuc.ncsa.security.storage.data.MapConverter<V extends BasicTransaction>
-
-