Skip navigation links
oracle.ocsg.oauth2.store
Class StoreHelper
java.lang.Object
oracle.ocsg.oauth2.store.StoreHelper
- Direct Known Subclasses:
- AccessTokenStoreHelper
- public abstract class StoreHelper
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoreHelper
public StoreHelper()
containsKey
public boolean containsKey(Serializable k)
throws StorageException
-
- Throws:
StorageException
getStore
public abstract Store getStore()
throws StorageException
-
- Throws:
StorageException
getStore
protected Store getStore(Class keyClass,
Class valueClass)
throws StorageException
- Gets reference to a reservation store.
-
- Returns:
- The store reference.
- Throws:
StorageException
- An exception if the store cannot be retrieved
getValue
public Serializable getValue(Serializable k)
throws StorageException
-
- Throws:
StorageException
put
public Serializable put(Serializable k,
Serializable v)
throws StorageException
-
- Throws:
StorageException
putValue
public void putValue(Serializable k,
Serializable v)
throws StorageException
-
- Throws:
StorageException
removeValue
public Serializable removeValue(Serializable k)
throws StorageException
-
- Throws:
StorageException
Skip navigation links
Copyright © 2008, 2015, Oracle and/or its affiliates. All rights reserved.