Package com.swiftmq.tools.versioning
Class Versionable
java.lang.Object
com.swiftmq.tools.versioning.Versionable
- All Implemented Interfaces:
Dumpable
,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addVersioned
(int version, Versioned versioned, String factoryClass) int
Returns a unique dump id for this object.void
readContent
(DataInput in) Read the content of this object from the stream.int
selectVersions
(int[] versions) void
setClassLoader
(ClassLoader classLoader) toString()
static Versionable
toVersionable
(javax.jms.BytesMessage msg) void
transferToMessage
(javax.jms.BytesMessage msg) void
writeContent
(DataOutput out) Write the content of this object to the stream.
-
Constructor Details
-
Versionable
public Versionable()
-
-
Method Details
-
toVersionable
- Throws:
Exception
-
setClassLoader
-
transferToMessage
- Throws:
Exception
-
addVersioned
-
selectVersions
- Throws:
VersionedException
-
createVersionedObject
- Throws:
Exception
-
createCurrentVersionObject
- Throws:
Exception
-
getDumpId
public int getDumpId()Description copied from interface:Dumpable
Returns a unique dump id for this object. -
writeContent
Description copied from interface:Dumpable
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Parameters:
out
- output stream- Throws:
IOException
- if an error occurs
-
readContent
Description copied from interface:Dumpable
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Parameters:
in
- input stream- Throws:
IOException
- if an error occurs
-
toString
-