All Downloads are FREE. Search and download functionalities are using the official Maven repository.

it.vige.school.rooms.jpa.RoomsJpaEntityProviderFactory Maven / Gradle / Ivy

There is a newer version: 1.4.0
Show newest version
package it.vige.school.rooms.jpa;

import org.keycloak.Config.Scope;
import org.keycloak.connections.jpa.entityprovider.JpaEntityProvider;
import org.keycloak.connections.jpa.entityprovider.JpaEntityProviderFactory;
import org.keycloak.models.KeycloakSession;
import org.keycloak.models.KeycloakSessionFactory;

public class RoomsJpaEntityProviderFactory implements JpaEntityProviderFactory {

	protected static final String ID = "rooms-entity-provider";
	
    @Override
    public JpaEntityProvider create(KeycloakSession session) {
        return new RoomsJpaEntityProvider();
    }

    @Override
    public String getId() {
        return ID;
    }

    @Override
    public void init(Scope config) {
    }

    @Override
    public void postInit(KeycloakSessionFactory factory) {
    }

    @Override
    public void close() {
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy