org.kuali.spring.util
Class SimpleProxyFactoryBean

java.lang.Object
  extended by org.kuali.spring.util.SimpleProxyFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean<Object>

public class SimpleProxyFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<Object>


Field Summary
(package private)  net.sf.cglib.proxy.Callback callback
           
(package private)  String classname
           
(package private)  boolean copySourceBeanProperties
           
static net.sf.cglib.proxy.Callback DEFAULT_CALLBACK
           
(package private)  Object sourceBean
           
 
Constructor Summary
SimpleProxyFactoryBean()
           
SimpleProxyFactoryBean(String classname)
           
SimpleProxyFactoryBean(String classname, net.sf.cglib.proxy.Callback callback)
           
 
Method Summary
 net.sf.cglib.proxy.Callback getCallback()
           
 String getClassname()
           
 Object getObject()
           
 Class<?> getObjectType()
           
 Object getSourceBean()
           
protected  Class<?> getTargetClass()
           
 boolean isSingleton()
           
 void setCallback(net.sf.cglib.proxy.Callback callback)
           
 void setClassname(String classname)
           
 void setSourceBean(Object source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_CALLBACK

public static final net.sf.cglib.proxy.Callback DEFAULT_CALLBACK

callback

net.sf.cglib.proxy.Callback callback

classname

String classname

sourceBean

Object sourceBean

copySourceBeanProperties

boolean copySourceBeanProperties
Constructor Detail

SimpleProxyFactoryBean

public SimpleProxyFactoryBean()

SimpleProxyFactoryBean

public SimpleProxyFactoryBean(String classname)

SimpleProxyFactoryBean

public SimpleProxyFactoryBean(String classname,
                              net.sf.cglib.proxy.Callback callback)
Method Detail

getObject

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

getTargetClass

protected Class<?> getTargetClass()
                           throws ClassNotFoundException
Throws:
ClassNotFoundException

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>

isSingleton

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

getCallback

public net.sf.cglib.proxy.Callback getCallback()

setCallback

public void setCallback(net.sf.cglib.proxy.Callback callback)

getClassname

public String getClassname()

setClassname

public void setClassname(String classname)

getSourceBean

public Object getSourceBean()

setSourceBean

public void setSourceBean(Object source)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.