public class DefaultContextRepository extends java.lang.Object implements ContextRepository, java.io.Serializable
| Constructor and Description |
|---|
DefaultContextRepository()
Creates a new instance of the context store, backed by a ConcurrentHashMap.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear out the entire context store
|
ContextMap |
get(java.lang.String name)
Return a single ContextMap object for the given name
|
java.util.Enumeration<java.lang.String> |
keys()
Returns an enumeration of all keys.
|
void |
put(java.lang.String name,
ContextMap context)
Add a single ContextMap object to the context store
|
int |
size()
return the size of the current context store
|
public DefaultContextRepository()
public ContextMap get(java.lang.String name)
ContextRepositoryget in interface ContextRepositorypublic void put(java.lang.String name,
ContextMap context)
ContextRepositoryput in interface ContextRepositorypublic void clear()
ContextRepositoryclear in interface ContextRepositorypublic int size()
ContextRepositorysize in interface ContextRepositorypublic java.util.Enumeration<java.lang.String> keys()
ContextRepositorykeys in interface ContextRepositoryCopyright © 2018 SAP SE. All Rights Reserved.