|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.orchestra.frameworkAdapter.FrameworkAdapter
org.apache.myfaces.orchestra.frameworkAdapter.basic.BasicFrameworkAdapter
org.apache.myfaces.orchestra.frameworkAdapter.springBasic.SpringBasicFrameworkAdapter
public class SpringBasicFrameworkAdapter
Same as BasicFrameworkAdapter
but lookup the bean using the Spring framework.
This makes it possible to configure Orchestra to look up beans from a Spring context even when there is no ServletContext or FacesContext available.
BasicFrameworkAdapter
Constructor Summary | |
---|---|
SpringBasicFrameworkAdapter(javax.servlet.ServletContext context,
java.lang.String conversationMessagerClass)
|
Method Summary | |
---|---|
java.lang.Object |
getBean(java.lang.String name)
Look in the request and session scopes for an entry with the specified name. |
Methods inherited from class org.apache.myfaces.orchestra.frameworkAdapter.basic.BasicFrameworkAdapter |
---|
beginRequest, containsRequestAttribute, containsRequestParameterAttribute, containsSessionAttribute, createConversationMessager, createDefaultConversationMessager, endRequest, getInitParameter, getRequestAttribute, getRequestContextPath, getRequestParameterAttribute, getSessionAttribute, invokeNavigation, redirect, setRequestAttribute, setSessionAttribute |
Methods inherited from class org.apache.myfaces.orchestra.frameworkAdapter.FrameworkAdapter |
---|
getConversationMessager, getCurrentInstance, getCurrentViewId, prepare, setConversationMessager, setCurrentInstance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringBasicFrameworkAdapter(javax.servlet.ServletContext context, java.lang.String conversationMessagerClass)
Method Detail |
---|
public java.lang.Object getBean(java.lang.String name)
BasicFrameworkAdapter
This basic adapter class does not support invoking the JSP expression evaluator; no "variable resolver" will ever be used to look up the specified name.
TODO: also look in the application scope.
TODO: investigate invoking the jsp.ExpressionFactory class to look up the variable. Possibly that could be done in a different JspFrameworkAdapter class.
getBean
in class BasicFrameworkAdapter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |