public abstract class DefaultServiceFactory<T> extends java.lang.Object implements ServiceFactory<T>
Constructor and Description |
---|
DefaultServiceFactory(java.lang.Class<T> serviceType) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<T> |
getInstance() |
java.lang.Class<T> |
getServiceType() |
public DefaultServiceFactory(java.lang.Class<T> serviceType)
public java.lang.Class<T> getServiceType()
getServiceType
in interface ServiceFactory<T>
public java.util.Optional<T> getInstance()
getInstance
in interface ServiceFactory<T>