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