# @jc:av-service Annotation

Specifies the Application View service associated with a method of an Application View control.

Note: The @jc:av-service annotation appears in Application View controls with the .jcx extension. Application View controls with the .ctrl extension, which were created in a previous version of WebLogic Workshop, use the @jws:av-service annotation. Controls with the .ctrl extension continue to be supported in WebLogic Workshop.

Syntax

@jc:av-service

name="avServiceName"
async="true | false"

Attributes

name

Required. Specifies the name of the service in the target Application View with which this Application View control method is associated.

async

Required. Specifies whether or not the service is asynchronoous. The default value is false (synchronous).

Remarks

The following rules apply to this annotation's use:

- The @jc:av-service annotation may only occur on a method declaration in an interface that extends weblogic.jws.control.ApplicationViewControl.
- The @jc:av-service annotation may only occur in a JCX file.
- The @jc:av-service annotation may only appear once per method.

Related Topics

Application View Control

@jc:av-identity Annotation