|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SerializableXAResourceDeserializer
This is an additional recovery helper that allows clients of the transaction manager to provide a deserializer for their Serializable XAResources. We need this as otherwise the transaction manager may not be able to see the transports classes, for instance in an application server environment.
Method Summary | |
---|---|
boolean |
canDeserialze(String className)
Can this SerializableXAResourceDeserializer handle the specified
classname. |
XAResource |
deserialze(ObjectInputStream ois)
Deserialize the XAResource. |
Method Detail |
---|
boolean canDeserialze(String className)
SerializableXAResourceDeserializer
handle the specified
classname.
className
- The name of the class to deserialize.
XAResource deserialze(ObjectInputStream ois) throws IOException, ClassNotFoundException
ois
- The input stream to read from.
XAResource
IOException
- If the ObjectInputStream.readObject()
fails.
ClassNotFoundException
- If the ObjectInputStream.readObject()
fails.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |