Class RemoteLoadBalancerCheckProviderFactory
java.lang.Object
org.keycloak.connections.infinispan.remote.RemoteLoadBalancerCheckProviderFactory
- All Implemented Interfaces:
LoadBalancerCheckProviderFactory,EnvironmentDependentProviderFactory,ProviderFactory<LoadBalancerCheckProvider>
public class RemoteLoadBalancerCheckProviderFactory
extends Object
implements LoadBalancerCheckProviderFactory, EnvironmentDependentProviderFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()This is called when the server shuts down.create(KeycloakSession session) Returns the metadata for each configuration property supported by this factory.getId()voidinit(Config.Scope config) Only called once when the factory is first created.booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.intorder()voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn
-
Constructor Details
-
RemoteLoadBalancerCheckProviderFactory
public RemoteLoadBalancerCheckProviderFactory()
-
-
Method Details
-
isSupported
Description copied from interface:EnvironmentDependentProviderFactoryCheck if the provider is supported and should be available based on the provider configuration.- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Parameters:
config- the provider configuration- Returns:
trueif the provider is supported. Otherwise,false.
-
create
- Specified by:
createin interfaceProviderFactory<LoadBalancerCheckProvider>
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created. This config is pulled from keycloak_server.json- Specified by:
initin interfaceProviderFactory<LoadBalancerCheckProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<LoadBalancerCheckProvider>
-
close
public void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<LoadBalancerCheckProvider>
-
getId
- Specified by:
getIdin interfaceProviderFactory<LoadBalancerCheckProvider>
-
order
public int order()- Specified by:
orderin interfaceProviderFactory<LoadBalancerCheckProvider>
-
getConfigMetadata
Description copied from interface:ProviderFactoryReturns the metadata for each configuration property supported by this factory.- Specified by:
getConfigMetadatain interfaceProviderFactory<LoadBalancerCheckProvider>- Returns:
- a list with the metadata for each configuration property supported by this factory
-