etm.contrib.aop.spring
Class EtmProxyFactoryBean

java.lang.Object
  extended by org.springframework.aop.framework.ProxyConfig
      extended by etm.contrib.aop.spring.EtmProxyFactoryBean
All Implemented Interfaces:
java.io.Serializable, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class EtmProxyFactoryBean
extends org.springframework.aop.framework.ProxyConfig
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

The EtmProxyFactoryBean works pretty much like the Spring TransactionFactoryBean.

Version:
$Revision: 35 $
Author:
void.fm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.springframework.aop.framework.ProxyConfig
exposeProxy, logger
 
Constructor Summary
EtmProxyFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  org.springframework.aop.TargetSource createTargetSource(java.lang.Object target)
           
 java.lang.Object getObject()
           
 java.lang.Class getObjectType()
           
protected  java.lang.Object getProxy(org.springframework.aop.framework.AopProxy aopProxy)
           
 boolean isSingleton()
           
 void setEtmMonitor(EtmMonitor aEtmMonitor)
           
 void setTarget(java.lang.Object aTarget)
           
 
Methods inherited from class org.springframework.aop.framework.ProxyConfig
copyFrom, getAopProxyFactory, isExposeProxy, isFrozen, isOpaque, isOptimize, isProxyTargetClass, setAopProxyFactory, 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

EtmProxyFactoryBean

public EtmProxyFactoryBean()
Method Detail

setEtmMonitor

public void setEtmMonitor(EtmMonitor aEtmMonitor)

setTarget

public void setTarget(java.lang.Object aTarget)

getObject

public java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.Class getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getProxy

protected java.lang.Object getProxy(org.springframework.aop.framework.AopProxy aopProxy)

createTargetSource

protected org.springframework.aop.TargetSource createTargetSource(java.lang.Object target)


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.