org.wildfly.swarm.config.ejb3.IIOPServiceConsumer Maven / Gradle / Ivy
The newest version!
package org.wildfly.swarm.config.ejb3;
import org.wildfly.swarm.config.ejb3.IIOPService;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface IIOPServiceConsumer> {
/**
* Configure a pre-constructed instance of IIOPService resource
*
* @parameter Instance of IIOPService to configure
* @return nothing
*/
void accept(T value);
default IIOPServiceConsumer andThen(IIOPServiceConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}