class ReadOnlyVariableResolverFactory extends
        BaseVariableResolverFactory {

    public VariableResolver createVariable(String name, Object value) {
        if (nextFactory != null) {
            return nextFactory.createVariable(name, value);
        }
        throw new UnsupportedOperationException("This variable resolver factory is read only");
    }

    public  ReadOnlyVariableResolverFactory(TilesRequestContextHolder requestHolder);

}