class TilesContextBeanVariableResolverFactory extends
        ReadOnlyVariableResolverFactory {

    public boolean isTarget(String name) {
        Request request = requestHolder.getTilesRequestContext();
        for (String scope : request.getAvailableScopes()) {
            if (request.getContext(scope).containsKey(name)) {
                return true;
            }
        }
        return false;
    }

    public  TilesContextBeanVariableResolverFactory(TilesRequestContextHolder requestHolder);

}