|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Purpose: Define a pluggable conversion interface that can be supplied by the application
Description: The implementation class of this interface should be set on the remote command manager through the setCommandConverter() method. The implementation class will get invoked, through its convertToTopLinkCommand(), to convert the application command format into a TopLink Command object that can be propagated throughout the cluster. Similarly, convertToUserCommand() will be invoked on the implementation class to give the application an opportunity to convert the TopLink Command object into an object that is suitable for being processed by the application.
Command
, CommandManager
Method Summary | |
Command |
convertToTopLinkCommand(java.lang.Object command) PUBLIC: Convert a command from its application-specific format to a TopLink Command object. |
java.lang.Object |
convertToUserCommand(Command command) PUBLIC: Convert a TopLink Command object into its application-specific format to a |
Method Detail |
public Command convertToTopLinkCommand(java.lang.Object command)
command
- An application-formatted commandpublic java.lang.Object convertToUserCommand(Command command)
command
- An application-formatted command
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |