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