Interface ServiceFactory
-
- All Known Subinterfaces:
AisScaStageAuthorisationFactory,PisScaStageAuthorisationFactory,ReadPaymentFactory,ReadPaymentStatusFactory
public interface ServiceFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetService(String serviceName)Returns a particular service depending on service name provided as a method argument
-
-
-
Method Detail
-
getService
<T> T getService(String serviceName)
Returns a particular service depending on service name provided as a method argument- Type Parameters:
T- the service- Parameters:
serviceName- String representation of requested service name which should match the value from @Service("serviceName") annotation- Returns:
- T particular service
-
-