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