You use the WebLogic Web Services Annotations view as you would any other editor.
When using the WebLogic Web Services Annotations view, consider the following features:
- When you select a valid Java element in the Java editor, a set of tabs is displayed, with each tab representing a supported annotation (see Figure 2).
- When you select an annotation in the Java editor, the corresponding tab is activated.
- Each tab provides a property editor pertaining to the attributes for that particular annotation:
- Each tab displays a link action to either Add or Remove the annoation from the Java source.
- Annotations are automatically added when you start to edit an attribute on the property editor.
- Annotations are automatically removed if all attributes are cleared from the property editor.
- When you edit an attribute, the changes are immediately reflected in the Java source editor.
- Edits in the Java source editor are immediately reflected in the WebLogic Web Services Annotations view's property editor.
- You can clear the value or return to a default value by using the light bulb icon next to a field.
- Default values are displayed in grey.
3. Supported Annotations
You can use the WebLogic Web Services Annotations view to edit the following annotations:
- Class-level annotations:
- Field-level annotations:
- Method-level annotations:
- Parameter-level annotations:
Note that you can use some annotations, such as
Oneway, as marker annotations (no attributes are required when the annotation is specified).
4. Related Information