org.codehaus.groovy.grails.commons.spring
Class TypeSpecifyableTransactionProxyFactoryBean
java.lang.Object
org.springframework.aop.framework.ProxyConfig
org.springframework.aop.framework.AbstractSingletonProxyFactoryBean
org.springframework.transaction.interceptor.TransactionProxyFactoryBean
org.codehaus.groovy.grails.commons.spring.TypeSpecifyableTransactionProxyFactoryBean
- All Implemented Interfaces:
- Serializable, BeanClassLoaderAware, BeanFactoryAware, FactoryBean<Object>, InitializingBean
public class TypeSpecifyableTransactionProxyFactoryBean
- extends TransactionProxyFactoryBean
- implements FactoryBean<Object>
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.
- See Also:
ServicesGrailsPlugin
,
Serialized Form
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 |
TypeSpecifyableTransactionProxyFactoryBean
public TypeSpecifyableTransactionProxyFactoryBean(Class type)
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface FactoryBean<Object>
- Overrides:
getObjectType
in class AbstractSingletonProxyFactoryBean
Copyright (c) 2005-2009 The Grails project