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