Building Your Event-Driven Architecture : Service Development Help : Building Java Services : Java Service Editor : Source Tab : Editable Sections of a Java Service
Editable Sections of a Java Service
You can modify the following sections of the Java service:
*imports, where you can specify the names of additional Java packages whose classes you want to make available to the current class.
Note:  
By default, Designer adds some required imports that you cannot delete. Although the Java service editor will allow you to remove the imports, when you save the service, Designer adds the required imports back to the service.
*extends, where you can specify a super class for the implementation.
*implements, where you can specify the Java interfaces that the Java service implements.
*source code, where you add the code for the primary Java service method.
*shared code, where you can specify declarations, methods, etc. that will be shared by all services in the current folder.
Note:  
You cannot enter or paste special characters including '{' in the extends or implements section of a Java service.
The toolbar and icons that the Source tab uses are the same as the buttons and icons used in the standard Eclipse Java editor. For a description, see the Eclipse Java Development User Guide.
Copyright © 2016 - 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback