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