Package com.github.ambry.frontend
Interface SecurityServiceFactory
-
public interface SecurityServiceFactory
SecurityServiceFactory is a factory to generate all the supporting cast required to instantiate aSecurityService
. 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 SecurityService
getSecurityService()
Returns an instance of theSecurityService
that the factory generates.
-
-
-
Method Detail
-
getSecurityService
SecurityService getSecurityService() throws java.lang.InstantiationException
Returns an instance of theSecurityService
that the factory generates.- Returns:
- an instance of
SecurityService
generated by this factory. - Throws:
java.lang.InstantiationException
- if theSecurityService
instance cannot be created.
-
-