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