org.kuali.student.common.test.mock
Class MockProxyFactoryBean
java.lang.Object
org.kuali.student.common.test.mock.MockProxyFactoryBean
- All Implemented Interfaces:
- FactoryBean
public class MockProxyFactoryBean
- extends Object
- implements FactoryBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
interfaceClass
private Class<?> interfaceClass
methodReturnMap
private Map<String,Object> methodReturnMap
MockProxyFactoryBean
public MockProxyFactoryBean()
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.