org.wildfly.clustering.faces.view.ViewSerializationContextInitializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wildfly-clustering-faces-api Show documentation
Show all versions of wildfly-clustering-faces-api Show documentation
Marshalling optimizations for Jakarta Faces specification classes.
/*
* Copyright The WildFly Authors
* SPDX-License-Identifier: Apache-2.0
*/
package org.wildfly.clustering.faces.view;
import org.kohsuke.MetaInfServices;
import org.wildfly.clustering.marshalling.protostream.AbstractSerializationContextInitializer;
import org.wildfly.clustering.marshalling.protostream.SerializationContext;
import org.wildfly.clustering.marshalling.protostream.SerializationContextInitializer;
/**
* @author Paul Ferraro
*/
@MetaInfServices(SerializationContextInitializer.class)
public class ViewSerializationContextInitializer extends AbstractSerializationContextInitializer {
public ViewSerializationContextInitializer() {
super("jakarta.faces.view.proto");
}
@Override
public void registerMarshallers(SerializationContext context) {
context.registerMarshaller(new LocationMarshaller());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy