public interface SerializableXAResourceDeserializer
Modifier and Type | Method and Description |
---|---|
boolean |
canDeserialze(java.lang.String className)
Can this
SerializableXAResourceDeserializer handle the specified
classname. |
javax.transaction.xa.XAResource |
deserialze(java.io.ObjectInputStream ois)
Deserialize the XAResource.
|
boolean canDeserialze(java.lang.String className)
SerializableXAResourceDeserializer
handle the specified
classname.className
- The name of the class to deserialize.javax.transaction.xa.XAResource deserialze(java.io.ObjectInputStream ois) throws java.io.IOException, java.lang.ClassNotFoundException
ois
- The input stream to read from.XAResource
java.io.IOException
- If the ObjectInputStream.readObject()
fails.java.lang.ClassNotFoundException
- If the ObjectInputStream.readObject()
fails.