com.joyent.manta.serialization.SessionRefSerializer Maven / Gradle / Ivy
/*
* Copyright (c) 2017, Joyent, Inc. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package com.joyent.manta.serialization;
import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.io.Output;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import static com.joyent.manta.serialization.ReflectionUtils.getField;
import static com.joyent.manta.serialization.ReflectionUtils.readField;
/**
* Serialization class that allows for (de)serialization of
* sun.security.pkcs11.SessionRef
instances.
*
* @author Elijah Zupancic
* @since 3.0.0
*/
public class SessionRefSerializer extends AbstractManualSerializer
© 2015 - 2025 Weber Informatics LLC | Privacy Policy