Example usage for org.hibernate.internal.util SerializationHelper deserialize

List of usage examples for org.hibernate.internal.util SerializationHelper deserialize

Introduction

In this page you can find the example usage for org.hibernate.internal.util SerializationHelper deserialize.

Prototype

public static Object deserialize(byte[] objectData) throws SerializationException 

Source Link

Document

Deserializes an object from an array of bytes using the Thread Context ClassLoader (TCCL).

Usage

From source file:cpcc.vvrte.entities.Task.java

License:Open Source License

/**
 * @return the sensor values.
 */
public ScriptableObject getSensorValues() {
    return (ScriptableObject) SerializationHelper.deserialize(sensorValues);
}

From source file:cpcc.vvrte.entities.VirtualVehicleStorage.java

License:Open Source License

/**
 * @return the storage item's content.
 */
public ScriptableObject getContent() {
    return (ScriptableObject) SerializationHelper.deserialize(content);
}