public class RepositoryContext
extends java.lang.Object
Constructor and Description |
---|
RepositoryContext() |
Modifier and Type | Method and Description |
---|---|
DictionaryFinder |
getDictionaryFinder()
Get the parent DictionaryFinder
|
java.util.Locale |
getLocale()
Get the Locale
|
java.security.Principal |
getPrincipal()
Get the principal
|
java.util.Map<java.lang.String,java.lang.Object> |
getProperties()
Get all properties
|
java.lang.Object |
getPropertyValue(java.lang.String name)
Get value of a property
|
void |
setDictionaryFinder(DictionaryFinder finder)
Set the parent DictionaryFinder
|
void |
setLocale(java.util.Locale locale)
Set the Locale
|
void |
setPrincipal(java.security.Principal principal)
Set a principal
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set a property
|
public java.lang.Object getPropertyValue(java.lang.String name)
name
- property namepublic void setProperty(java.lang.String name, java.lang.Object value)
name
- property namevalue
- property valuepublic java.util.Map<java.lang.String,java.lang.Object> getProperties()
public java.security.Principal getPrincipal()
public void setPrincipal(java.security.Principal principal)
principal
- the principal to be setpublic java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale
- the Locale to be setpublic DictionaryFinder getDictionaryFinder()
public void setDictionaryFinder(DictionaryFinder finder)
finder
- the parent DictionaryFinder