On the Method mapping page, specify the methods of the Java class you are mapping to. This page appears only if the class is remote (it implements the java.rmi.Remote interface).
To add a method to the list, select New. The Method Definition Window appears prompting you for details about the method. Specify the following information:
To remove a parameter from the list, select it and then select Remove.
Note: | The number of parameters defined for the Java method must equal the number of parameters defined by the corresponding Smalltalk method. If the two methods do not match, an error message appears when you attempt to add the method to the class mapping. |
If the exception you want is not listed, this means no Smalltalk mapping exists for it. You may enter the exception name and when you have finished mapping the Java class, you will be prompted to map the exception using the RMI Exception Wizard. See Mapping a Smalltalk class to a Java exception for more information on creating mapping exceptions.
To remove an exception from the list, select it and then select Remove.
When you have finished editing the method, you can select New to create a new method and repeat the process for additional methods or select Next to continue to the next page.
If you want to change a method you have already added, follow these steps:
To remove a method to the list, select the method and select Remove.
If you are finished specifying methods for the class, select Next to continue to the next page.