Class ServiceTransactionConverter<V extends ServiceTransaction>
- java.lang.Object
-
- edu.uiuc.ncsa.security.storage.data.MapConverter<V>
-
- org.oa4mp.delegation.common.storage.transactions.BasicTransactionConverter<V>
-
- org.oa4mp.delegation.server.storage.support.ServiceTransactionConverter<V>
-
- All Implemented Interfaces:
edu.uiuc.ncsa.security.core.XMLConverter<V>
public class ServiceTransactionConverter<V extends ServiceTransaction> extends BasicTransactionConverter<V>
Converts maps to or from server-side transactions.Created by Jeff Gaynor
on 4/16/12 at 11:59 AM
-
-
Field Summary
-
Fields inherited from class org.oa4mp.delegation.common.storage.transactions.BasicTransactionConverter
tokenForge
-
-
Constructor Summary
Constructors Constructor Description ServiceTransactionConverter(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> map, V v)
protected ServiceTransactionKeys
getSTK()
void
toMap(V v, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
-
Methods inherited from class org.oa4mp.delegation.common.storage.transactions.BasicTransactionConverter
getBTKeys, getTokenForge
-
-
-
-
Constructor Detail
-
ServiceTransactionConverter
public ServiceTransactionConverter(edu.uiuc.ncsa.security.storage.data.SerializationKeys keys, edu.uiuc.ncsa.security.core.IdentifiableProvider<V> identifiableProvider, TokenForge tokenForge)
-
-
Method Detail
-
fromMap
public V fromMap(edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map, V v)
- Overrides:
fromMap
in classBasicTransactionConverter<V extends ServiceTransaction>
-
getSTK
protected ServiceTransactionKeys getSTK()
-
toMap
public void toMap(V v, edu.uiuc.ncsa.security.storage.data.ConversionMap<String,Object> map)
- Overrides:
toMap
in classBasicTransactionConverter<V extends ServiceTransaction>
-
-