org.wildfly.swarm.config.remoting.SASLSecurityConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.remoting;
import org.wildfly.swarm.config.remoting.SASLSecurity;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface SASLSecurityConsumer> {
/**
* Configure a pre-constructed instance of SASLSecurity resource
*
* @parameter Instance of SASLSecurity to configure
* @return nothing
*/
void accept(T value);
default SASLSecurityConsumer andThen(SASLSecurityConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy