|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommandConverter
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 |
---|
Command convertToTopLinkCommand(java.lang.Object command)
command
- An application-formatted command
java.lang.Object convertToUserCommand(Command command)
command
- An application-formatted command
|
EclipseLink 1.1.1_ 1.1.1.v20090430-r4097 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |