oracle.ocsg.oauth2.store
Class StoreHelper
java.lang.Object
oracle.ocsg.oauth2.store.StoreHelper
- Direct Known Subclasses:
- AccessTokenStoreHelper
- public abstract class StoreHelper
- extends java.lang.Object
Method Summary |
boolean |
containsKey(java.io.Serializable k)
|
abstract Store |
getStore()
|
protected Store |
getStore(java.lang.Class keyClass,
java.lang.Class valueClass)
Gets reference to a reservation store. |
java.io.Serializable |
getValue(java.io.Serializable k)
|
java.io.Serializable |
put(java.io.Serializable k,
java.io.Serializable v)
|
void |
putValue(java.io.Serializable k,
java.io.Serializable v)
|
java.io.Serializable |
removeValue(java.io.Serializable k)
|
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(java.io.Serializable k)
throws StorageException
- Throws:
StorageException
getStore
public abstract Store getStore()
throws StorageException
- Throws:
StorageException
getStore
protected Store getStore(java.lang.Class keyClass,
java.lang.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 java.io.Serializable getValue(java.io.Serializable k)
throws StorageException
- Throws:
StorageException
put
public java.io.Serializable put(java.io.Serializable k,
java.io.Serializable v)
throws StorageException
- Throws:
StorageException
putValue
public void putValue(java.io.Serializable k,
java.io.Serializable v)
throws StorageException
- Throws:
StorageException
removeValue
public java.io.Serializable removeValue(java.io.Serializable k)
throws StorageException
- Throws:
StorageException
Copyright © 2008, 2018, Oracle and/or its affiliates. All rights reserved.