com.hazelcast.nio.serialization
Interface PortableFactory

All Known Implementing Classes:
ArrayPortableFactory, ClientPortableFactory

public interface PortableFactory

PortableFactory is used to create Portable instances during de-serialization.

See Also:
Portable, VersionedPortable

Method Summary
 Portable create(int classId)
          Creates a Portable instance using given class id
 

Method Detail

create

Portable create(int classId)
Creates a Portable instance using given class id

Parameters:
classId - portable class id
Returns:
portable instance or null if class id is not known by this factory


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.