Class TypeSpecifyableTransactionProxyFactoryBean

  • All Implemented Interfaces:
    java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.FactoryBean<java.lang.Object>, org.springframework.beans.factory.InitializingBean

    public class TypeSpecifyableTransactionProxyFactoryBean
    extends org.springframework.transaction.interceptor.TransactionProxyFactoryBean
    Allows the type of the underlying object to be specified explicitly. This is used when creating scoped proxies of transactional proxies of services. The scoped proxy needs to know that type of the object before the transactional proxy factory has instantiated the underlying service and is able to determine it's class. This class allows the type to be explicitly specified. Used by org.codehaus.groovy.grails.plugins.services.ServicesGrailsPlugin.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.springframework.beans.factory.FactoryBean

        OBJECT_TYPE_ATTRIBUTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getObjectType()  
      • Methods inherited from class org.springframework.transaction.interceptor.TransactionProxyFactoryBean

        createMainInterceptor, postProcessProxyFactory, setBeanFactory, setPointcut, setTransactionAttributes, setTransactionAttributeSource, setTransactionManager
      • Methods inherited from class org.springframework.aop.framework.AbstractSingletonProxyFactoryBean

        afterPropertiesSet, createTargetSource, getObject, isSingleton, setAdvisorAdapterRegistry, setBeanClassLoader, setPostInterceptors, setPreInterceptors, setProxyClassLoader, setProxyInterfaces, setTarget
      • Methods inherited from class org.springframework.aop.framework.ProxyConfig

        copyFrom, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setExposeProxy, setFrozen, setOpaque, setOptimize, setProxyTargetClass, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TypeSpecifyableTransactionProxyFactoryBean

        public TypeSpecifyableTransactionProxyFactoryBean​(java.lang.Class<?> type)
    • Method Detail

      • getObjectType

        public java.lang.Class<?> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean<java.lang.Object>
        Overrides:
        getObjectType in class org.springframework.aop.framework.AbstractSingletonProxyFactoryBean