org.kubek2k.springockito.annotations.internal.factory
Class SpyFactoryBean<T>
java.lang.Object
org.kubek2k.springockito.annotations.internal.factory.SpyFactoryBean<T>
- All Implemented Interfaces:
- ResettableMock, org.springframework.beans.factory.FactoryBean<T>
public class SpyFactoryBean<T>
- extends Object
- implements org.springframework.beans.factory.FactoryBean<T>, ResettableMock
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpyFactoryBean
public SpyFactoryBean(T wrappedInstance)
getObject
public T getObject()
throws Exception
- Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean<T>
- Throws:
Exception
getObjectType
public Class<? extends T> getObjectType()
- Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean<T>
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton in interface org.springframework.beans.factory.FactoryBean<T>
resetMock
public void resetMock()
- Specified by:
resetMock in interface ResettableMock
Copyright © 2013. All Rights Reserved.