Package org.keycloak.models.workflow
Interface WorkflowEventProviderFactory<P extends WorkflowEventProvider>
- All Superinterfaces:
EnvironmentDependentProviderFactory,ProviderFactory<P>
- All Known Implementing Classes:
ClientAuthenticatedWorkflowEventFactory,ClientCreatedWorkflowEventFactory,UserAuthenticatedWorkflowEventFactory,UserCreatedWorkflowEventFactory,UserFedIdentityAddedWorkflowEventFactory,UserFedIdentityRemovedWorkflowEventFactory,UserGroupMembershipAddedWorkflowEventFactory,UserGroupMembershipRemovedWorkflowEventFactory,UserRoleGrantedWorkflowEventFactory,UserRoleRevokedWorkflowEventFactory
public interface WorkflowEventProviderFactory<P extends WorkflowEventProvider>
extends ProviderFactory<P>, EnvironmentDependentProviderFactory
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()This is called when the server shuts down.default Pcreate(KeycloakSession session) create(KeycloakSession session, String configParameter) default voidinit(Config.Scope config) Only called once when the factory is first created.default booleanisSupported(Config.Scope config) Check if the provider is supported and should be available based on the provider configuration.default voidpostInit(KeycloakSessionFactory factory) Called after all provider factories have been initializedMethods inherited from interface org.keycloak.provider.ProviderFactory
dependsOn, getConfigMetadata, getId, order
-
Method Details
-
create
-
create
- Specified by:
createin interfaceProviderFactory<P extends WorkflowEventProvider>
-
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.
-
init
Description copied from interface:ProviderFactoryOnly called once when the factory is first created.- Specified by:
initin interfaceProviderFactory<P extends WorkflowEventProvider>
-
postInit
Description copied from interface:ProviderFactoryCalled after all provider factories have been initialized- Specified by:
postInitin interfaceProviderFactory<P extends WorkflowEventProvider>
-
close
default void close()Description copied from interface:ProviderFactoryThis is called when the server shuts down.- Specified by:
closein interfaceProviderFactory<P extends WorkflowEventProvider>
-