Package org.springframework.context

Examples of org.springframework.context.ConfigurableApplicationContext.containsBeanDefinition()


   
    final ConfigurableApplicationContext ctx = (ConfigurableApplicationContext)
      WebApplicationContextUtils.getRequiredWebApplicationContext((ServletContext)wapp.getNativeContext());
   
    //add listener for ZK + Security
    if (ctx.containsBeanDefinition(ZkBeanIds.ZK_DESKTOP_REUSE_FILTER)) {
      conf.addListener(ZkSecurityContextListener.class);
      conf.addListener(ZkExceptionTranslationListener.class);
      conf.addListener(ZkEventProcessListener.class);
    }
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.