Package com.github.ambry.account
Interface AccountServiceFactory
-
public interface AccountServiceFactory
AccountServiceFactory
is a factory to generate all the supporting cast required to instantiate anAccountService
. Usually called with the canonical class name and as such might have to support appropriate (multiple) constructors.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccountService
getAccountService()
Returns an instance of theAccountService
that the factory generates.
-
-
-
Method Detail
-
getAccountService
AccountService getAccountService() throws java.lang.InstantiationException
Returns an instance of theAccountService
that the factory generates.- Returns:
- an instance of
AccountService
generated by this factory. - Throws:
java.lang.InstantiationException
- if theAccountService
instance cannot be created.
-
-