public abstract class AbstractServiceFactory extends Object implements ServiceFactory
| Constructor and Description |
|---|
AbstractServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createService(ClassLoader classLoader,
ServiceContext context,
Class<T> interfaceClass) |
List<Decorator> |
getDecorators() |
String |
getInterfaceClass() |
List<String> |
getInterfaceClasses() |
Set<Class<?>> |
getInterfaces() |
Object |
getMockService() |
String |
getServiceName() |
protected Set<Class<?>> |
guessInterfaceClasses() |
void |
init(ServiceContext serviceContext,
String serviceName) |
void |
setDecorators(List<Decorator> decorators) |
void |
setInterfaceClass(String interfaceClass) |
void |
setInterfaceClasses(List<String> interfaceClasses) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetServicepublic void init(ServiceContext serviceContext, String serviceName)
init in interface ServiceFactorypublic String getServiceName()
public <T> T createService(ClassLoader classLoader, ServiceContext context, Class<T> interfaceClass)
createService in interface ServiceFactorypublic Object getMockService()
getMockService in interface ServiceFactorypublic String getInterfaceClass()
public void setInterfaceClass(String interfaceClass)
public Set<Class<?>> getInterfaces()
getInterfaces in interface ServiceFactory