|
EclipseLink 1.2.0, build 'v20091016-r5565' 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 convertToEclipseLinkCommand(), 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 EclipseLink Command object into an object that is suitable for being processed by the application.
Command
,
CommandManager
Method Summary | |
---|---|
Command |
convertToEclipseLinkCommand(java.lang.Object command)
PUBLIC: Convert a command from its application-specific format to a EclipseLink Command object. |
java.lang.Object |
convertToUserCommand(Command command)
PUBLIC: Convert a EclipseLink Command object into its application-specific format to a |
Method Detail |
---|
Command convertToEclipseLinkCommand(java.lang.Object command)
command
- An application-formatted command
java.lang.Object convertToUserCommand(Command command)
command
- An application-formatted command
|
EclipseLink 1.2.0, build 'v20091016-r5565' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |