private static class BeanManager.ScopeManager.CustomScopeHandler extends java.lang.Object implements BeanManager.ScopeManager.ScopeHandler
Modifier and Type | Class and Description |
---|---|
private static class |
BeanManager.ScopeManager.CustomScopeHandler.CustomScopeELContext
We have to use a different ELContext when evaluating the expressions
for the custom scopes as we don't want to cause the resolved
flag on the original ELContext to be changed.
|
Modifier and Type | Field and Description |
---|---|
private javax.el.ValueExpression |
scope |
Constructor and Description |
---|
CustomScopeHandler(javax.el.ValueExpression scope) |
Modifier and Type | Method and Description |
---|---|
private javax.el.ELContext |
getELContext(javax.faces.context.FacesContext ctx) |
java.lang.Object |
getFromScope(java.lang.String name,
javax.faces.context.FacesContext context) |
void |
handle(java.lang.String name,
java.lang.Object bean,
javax.faces.context.FacesContext context) |
boolean |
isInScope(java.lang.String name,
javax.faces.context.FacesContext context) |
public void handle(java.lang.String name, java.lang.Object bean, javax.faces.context.FacesContext context)
handle
in interface BeanManager.ScopeManager.ScopeHandler
public boolean isInScope(java.lang.String name, javax.faces.context.FacesContext context)
isInScope
in interface BeanManager.ScopeManager.ScopeHandler
public java.lang.Object getFromScope(java.lang.String name, javax.faces.context.FacesContext context)
getFromScope
in interface BeanManager.ScopeManager.ScopeHandler
private javax.el.ELContext getELContext(javax.faces.context.FacesContext ctx)
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.