15 Mayıs 2018 Salı

SpringAOP CommonsPool2TargetSource Sınıfı

targetBeanName Alanı
Şöyle yaparız.
<bean id="myPool" class="org.springframework.aop.target.CommonsPool2TargetSource">
  <property name="targetBeanName" value="dataQualityPostComponentTarget" />
  <property name="maxSize" value="${POOL_POST_SIZE}" />
  <property name="maxIdle" value="${POOL_POST_SIZE}"/>
  <property name="minIdle" value="${POOL_POST_SIZE}"/>
</bean>

Hiç yorum yok:

Yorum Gönder