java.lang.Object
io.john.amiscaray.quak.security.di.JWTUtilProvider
- All Implemented Interfaces:
DependencyProvider<JwtUtil>
Provides the application with a
JWTUtil instance.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<DependencyID<?>> booleanprovideDependency(ApplicationContext context) Provide the dependency to the application context.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.john.amiscaray.quak.core.di.provider.DependencyProvider
aggregateList
-
Constructor Details
-
JWTUtilProvider
public JWTUtilProvider()
-
-
Method Details
-
isDependencyOptional
public boolean isDependencyOptional()- Specified by:
isDependencyOptionalin interfaceDependencyProvider<JwtUtil>- Returns:
- Whether this dependency needs to be loaded for the application to start property.
-
getDependencyID
- Specified by:
getDependencyIDin interfaceDependencyProvider<JwtUtil>- Returns:
- The ID of this dependency.
-
provideDependency
Description copied from interface:DependencyProviderProvide the dependency to the application context.- Specified by:
provideDependencyin interfaceDependencyProvider<JwtUtil>- Parameters:
context- The application context. Used to get any instances needed to instantiate/initialize the dependency.- Returns:
- The provided dependency.
-
getDependencies
- Specified by:
getDependenciesin interfaceDependencyProvider<JwtUtil>- Returns:
- A list of the dependencies required to instantiate this dependency.
-