Package com.github.ambry.router
Interface KeyManagementServiceFactory<T>
-
public interface KeyManagementServiceFactory<T>
KeyManagementServiceFactory is a factory to instantiate aKeyManagementService
. 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 KeyManagementService<T>
getKeyManagementService()
Returns an instance of theKeyManagementService
that the factory generates.
-
-
-
Method Detail
-
getKeyManagementService
KeyManagementService<T> getKeyManagementService() throws java.security.GeneralSecurityException
Returns an instance of theKeyManagementService
that the factory generates.- Returns:
- an instance of
KeyManagementService
generated by this factory. - Throws:
java.security.GeneralSecurityException
- on any exception during instantiation
-
-