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