public class MockServiceFactory extends AbstractServiceFactory implements ServiceFactory
Constructor and Description |
---|
MockServiceFactory() |
Modifier and Type | Method and Description |
---|---|
Object |
getService() |
protected Set<Class<?>> |
guessInterfaceClasses() |
void |
init(ServiceContext serviceContext,
String serviceName) |
boolean |
isGenerateDummyData() |
void |
setGenerateDummyData(boolean generateDummyData) |
createService, getDecorators, getInterfaceClass, getInterfaceClasses, getInterfaces, getMockService, getServiceName, setDecorators, setInterfaceClass, setInterfaceClasses
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createService, getInterfaces, getMockService
public void init(ServiceContext serviceContext, String serviceName)
init
in interface ServiceFactory
init
in class AbstractServiceFactory
public Object getService()
getService
in interface ServiceFactory
public boolean isGenerateDummyData()
public void setGenerateDummyData(boolean generateDummyData)
protected Set<Class<?>> guessInterfaceClasses()
guessInterfaceClasses
in class AbstractServiceFactory