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