org.wildfly.clustering.faces.mojarra.util.UtilMarshallerProvider Maven / Gradle / Ivy
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.faces.mojarra.util;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller;
import org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshallerProvider;
/**
* @author Paul Ferraro
*/
public enum UtilMarshallerProvider implements ProtoStreamMarshallerProvider {
LRU_MAP(new LRUMapMarshaller()),
;
private final ProtoStreamMarshaller> marshaller;
UtilMarshallerProvider(ProtoStreamMarshaller> marshaller) {
this.marshaller = marshaller;
}
@Override
public ProtoStreamMarshaller> getMarshaller() {
return this.marshaller;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy