Class BaseServiceBeanAutoProxyCreator

Object
com.liferay.portal.spring.aop.BaseServiceBeanAutoProxyCreator
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor, org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor, org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor

public abstract class BaseServiceBeanAutoProxyCreator extends Object implements org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
Author:
Shuyang Zhou
  • Constructor Details

    • BaseServiceBeanAutoProxyCreator

      public BaseServiceBeanAutoProxyCreator(BeanMatcher beanMatcher, ClassLoader classLoader)
  • Method Details

    • determineCandidateConstructors

      public Constructor<?>[] determineCandidateConstructors(Class<?> beanClass, String beanName)
      Specified by:
      determineCandidateConstructors in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
    • getEarlyBeanReference

      public Object getEarlyBeanReference(Object bean, String beanName)
      Specified by:
      getEarlyBeanReference in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName)
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
    • postProcessAfterInstantiation

      public boolean postProcessAfterInstantiation(Object bean, String beanName)
      Specified by:
      postProcessAfterInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName)
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
    • postProcessBeforeInstantiation

      public Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName)
      Specified by:
      postProcessBeforeInstantiation in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
    • postProcessPropertyValues

      public org.springframework.beans.PropertyValues postProcessPropertyValues(org.springframework.beans.PropertyValues propertyValues, PropertyDescriptor[] propertyDescriptors, Object bean, String beanName)
      Specified by:
      postProcessPropertyValues in interface org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessor
    • predictBeanType

      public Class<?> predictBeanType(Class<?> beanClass, String beanName)
      Specified by:
      predictBeanType in interface org.springframework.beans.factory.config.SmartInstantiationAwareBeanPostProcessor
    • createAopInvocationHandler

      protected abstract AopInvocationHandler createAopInvocationHandler(Object bean)