Package org.springframework.aop.target

Examples of org.springframework.aop.target.CommonsPoolTargetSource


  protected final AbstractBeanFactoryBasedTargetSource createBeanFactoryBasedTargetSource(
      Class beanClass, String beanName) {

    if (beanName.startsWith(PREFIX_COMMONS_POOL)) {
      CommonsPoolTargetSource cpts = new CommonsPoolTargetSource();
      cpts.setMaxSize(25);
      return cpts;
    }
    else if (beanName.startsWith(PREFIX_THREAD_LOCAL)) {
      return new ThreadLocalTargetSource();
    }
View Full Code Here


  @Override
  protected final AbstractBeanFactoryBasedTargetSource createBeanFactoryBasedTargetSource(
      Class beanClass, String beanName) {

    if (beanName.startsWith(PREFIX_COMMONS_POOL)) {
      CommonsPoolTargetSource cpts = new CommonsPoolTargetSource();
      cpts.setMaxSize(25);
      return cpts;
    }
    else if (beanName.startsWith(PREFIX_THREAD_LOCAL)) {
      return new ThreadLocalTargetSource();
    }
View Full Code Here

  @Override
  protected final AbstractBeanFactoryBasedTargetSource createBeanFactoryBasedTargetSource(
      Class<?> beanClass, String beanName) {

    if (beanName.startsWith(PREFIX_COMMONS_POOL)) {
      CommonsPoolTargetSource cpts = new CommonsPoolTargetSource();
      cpts.setMaxSize(25);
      return cpts;
    }
    else if (beanName.startsWith(PREFIX_THREAD_LOCAL)) {
      return new ThreadLocalTargetSource();
    }
View Full Code Here

TOP

Related Classes of org.springframework.aop.target.CommonsPoolTargetSource

Copyright © 2018 www.massapicom. 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.