Interface AccountServiceFactory


  • public interface AccountServiceFactory
    AccountServiceFactory is a factory to generate all the supporting cast required to instantiate an AccountService. Usually called with the canonical class name and as such might have to support appropriate (multiple) constructors.
    • Method Detail

      • getAccountService

        AccountService getAccountService()
                                  throws java.lang.InstantiationException
        Returns an instance of the AccountService that the factory generates.
        Returns:
        an instance of AccountService generated by this factory.
        Throws:
        java.lang.InstantiationException - if the AccountService instance cannot be created.