BeanExpressionResolver resolver = beanFactory.getBeanExpressionResolver();
BeanExpressionContext expressionContext = new CurrentModuleBeanExpressionContext( beanFactory, null );
if ( resolver == null ) {
resolver = new StandardBeanExpressionResolver();
}
boolean result = (Boolean) resolver.evaluate( expression, expressionContext );
if ( LOG.isTraceEnabled() ) {