# @common:control Annotation

The @common:control annotation indicates that the object annotated by this annotation is a WebLogic Workshop control in a JCX file.

Note: In WebLogic Workshop 7.0, controls in web services were designated with the @jws:control annotation. If you are referencing a control that was created in WebLogic Workshop 7.0 and is a file of type CTRL, you must use the @jws:control annotation. If you are referencing a control that was created in WebLogic Workshop 8.1 and is a file of type JCX, you must use the @common:control annotation.

## Syntax

@common:control

## Attributes

None.

## Remarks

The following rules apply to this annotation's use:

- Only one @common:control annotation may appear within a single Javadoc comment block.
- Must appear on each control instance declaration.

If the @common:control annotation is not present on a control instance declaration, the control will function properly. Attempts to invoke control methods will result in Null Pointer Exceptions (NPEs).

Related Topics

None