Class AbstractPersistentStore<T>
- java.lang.Object
-
- com.atlassian.bitbucket.jenkins.internal.applink.oauth.serviceprovider.AbstractPersistentStore<T>
-
- Direct Known Subclasses:
PersistentServiceProviderConsumerStore,PersistentServiceProviderTokenStore
public abstract class AbstractPersistentStore<T> extends Object implements Saveable, OnMaster
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractPersistentStore(String configFileName, com.thoughtworks.xstream.converters.Converter entityConverter)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static Stringdecrypt(String encryptedValue)protected static Stringencrypt(String unencryptedValue)protected XmlFilegetConfigFile()The file wheretokensare savedprotected abstract Class<T>getEntityClass()protected abstract StringgetStoreEntryName()protected abstract StringgetStoreKeyName()protected abstract StringgetStoreValueName()voidload()voidsave()
-
-
-
Field Detail
-
xStream
protected final transient XStream2 xStream
-
entityMap
@CopyOnWrite protected volatile Map<String,T> entityMap
-
-
Constructor Detail
-
AbstractPersistentStore
protected AbstractPersistentStore(String configFileName, com.thoughtworks.xstream.converters.Converter entityConverter)
-
-