f50570e350
Public/private SPI
32 lines
692 B
Java
32 lines
692 B
Java
package org.keycloak.messages;
|
|
|
|
import org.keycloak.provider.Provider;
|
|
import org.keycloak.provider.ProviderFactory;
|
|
import org.keycloak.provider.Spi;
|
|
|
|
/**
|
|
* @author <a href="mailto:leonardo.zanivan@gmail.com">Leonardo Zanivan</a>
|
|
*/
|
|
public class MessagesSpi implements Spi {
|
|
|
|
@Override
|
|
public boolean isInternal() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public String getName() {
|
|
return "messages";
|
|
}
|
|
|
|
@Override
|
|
public Class<? extends Provider> getProviderClass() {
|
|
return MessagesProvider.class;
|
|
}
|
|
|
|
@Override
|
|
public Class<? extends ProviderFactory> getProviderFactoryClass() {
|
|
return MessagesProviderFactory.class;
|
|
}
|
|
|
|
}
|