|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.toplink.remotecommand.XMLCommandConverter
public class XMLCommandConverter
Purpose:
This is TopLink Command converter class that impelments the public API oracle.toplink.remotecommand.CommandConverter Description:
The converter provides the conversion between TopLink proprietary cache synchronization command, oracle.toplink.remotecommand.MergeChangeSetCommand and XML org.w3c.dom.Document. When this command converter is plugged into oracle.toplink.remotecommand.CommandManager, it enables third party application to participate in TopLink cluster in the form of receiving or sending cache synchronization command in XML org.w3c.dom.Document format. Responsibilities:
CommandManager
Constructor Summary | |
---|---|
XMLCommandConverter()
Deprecated. |
Method Summary | |
---|---|
Command |
convertToTopLinkCommand(java.lang.Object xmlCommand)
Deprecated. Convert input command to oracle.toplink.remotecommand.MergeChangeSetCommand object and throw exception if it cannot convert. |
java.lang.Object |
convertToUserCommand(Command command)
Deprecated. Convert TopLink command to org.w3c.dom.Document object and throw exception if it cannot convert |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLCommandConverter()
Method Detail |
---|
public Command convertToTopLinkCommand(java.lang.Object xmlCommand)
convertToTopLinkCommand
in interface CommandConverter
xmlCommand
- must be of type String or java.io.Reader or a oracle.xml.parser.v2.XMLDocument
java.lang.RuntimeException
- if there is error during the conversion or the command parameter is not the expected typepublic java.lang.Object convertToUserCommand(Command command)
convertToUserCommand
in interface CommandConverter
command
- must be of type oracle.toplink.remotecommand.MergeChangeSetCommand
java.lang.RuntimeException
- if there is error during the conversion or the command parameter is not the expected type
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |