net.razorvine.pickle.IObjectConstructor Maven / Gradle / Ivy
package net.razorvine.pickle;
/**
* Interface for Object Constructors that are used by the unpickler
* to create instances of non-primitive or custom classes.
*
* @author Irmen de Jong ([email protected])
*/
public interface IObjectConstructor {
/**
* Create an object. Use the given args as parameters for the constructor.
*/
public Object construct(Object[] args) throws PickleException;
}