org.infinispan.server.configuration.InterfacesConfiguration Maven / Gradle / Ivy
The newest version!
package org.infinispan.server.configuration;
import java.util.Map;
public class InterfacesConfiguration {
private final Map interfaces;
InterfacesConfiguration(Map interfaces) {
this.interfaces = interfaces;
}
public Map interfaces() {
return interfaces;
}
boolean exists(String interfaceName) {
return interfaces.containsKey(interfaceName);
}
}