org.kuali.student.common.test.mock
Class MockProxyFactoryBean

java.lang.Object
  extended by org.kuali.student.common.test.mock.MockProxyFactoryBean
All Implemented Interfaces:
FactoryBean

public class MockProxyFactoryBean
extends Object
implements FactoryBean


Field Summary
private  Class<?> interfaceClass
           
private  Map<String,Object> methodReturnMap
           
 
Constructor Summary
MockProxyFactoryBean()
           
 
Method Summary
 Class<?> getInterfaceClass()
           
 Map<String,Object> getMethodReturnMap()
           
 Object getObject()
           
 Class<?> getObjectType()
           
 boolean isSingleton()
           
 void setInterfaceClass(Class<?> interfaceClass)
           
 void setMethodReturnMap(Map<String,Object> methodReturnMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

interfaceClass

private Class<?> interfaceClass

methodReturnMap

private Map<String,Object> methodReturnMap
Constructor Detail

MockProxyFactoryBean

public MockProxyFactoryBean()
Method Detail

getObject

public Object getObject()
                 throws Exception
Specified by:
getObject in interface FactoryBean
Throws:
Exception

getObjectType

public Class<?> getObjectType()
Specified by:
getObjectType in interface FactoryBean

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface FactoryBean

getInterfaceClass

public Class<?> getInterfaceClass()
Returns:
the interfaceClass

setInterfaceClass

public void setInterfaceClass(Class<?> interfaceClass)
Parameters:
interfaceClass - the interfaceClass to set

getMethodReturnMap

public Map<String,Object> getMethodReturnMap()
Returns:
the methodReturnMap

setMethodReturnMap

public void setMethodReturnMap(Map<String,Object> methodReturnMap)
Parameters:
methodReturnMap - the methodReturnMap to set


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