org.wildfly.swarm.config.elytron.JDBCRealmConsumer Maven / Gradle / Ivy
The newest version!
package org.wildfly.swarm.config.elytron;
import org.wildfly.swarm.config.elytron.JDBCRealm;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface JDBCRealmConsumer> {
/**
* Configure a pre-constructed instance of JDBCRealm resource
*
* @parameter Instance of JDBCRealm to configure
* @return nothing
*/
void accept(T value);
default JDBCRealmConsumer andThen(JDBCRealmConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}