|
Copyright © 2009, 2010 Nu Echo Inc. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nuecho.application.grammarserver.servlets.MultiJsonContextInitializer
public final class MultiJsonContextInitializer
Implementation of ContextInitializer that expects each value in the
parameterMap to be a JSON string. The string is converted to a JSON value
before being put in the instantiation context.
ContextInitializer| Constructor Summary | |
|---|---|
MultiJsonContextInitializer()
|
|
| Method Summary | |
|---|---|
java.util.Map |
getContext(java.util.Map parameters,
GrammarFragmentFactory factory,
CacheControl control)
Computes an instantiation context from a map of parameters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiJsonContextInitializer()
| Method Detail |
|---|
public java.util.Map getContext(java.util.Map parameters,
GrammarFragmentFactory factory,
CacheControl control)
throws ContextInitializationException
ContextInitializer
getContext in interface ContextInitializerparameters - the input parametersfactory - a grammar fragment factory objectcontrol - a cache control object
ContextInitializationException - when an error occurs during the
building of the instantiation context
|
Copyright © 2009, 2010 Nu Echo Inc. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||