# @jc:av-identity Annotation

Specifies the target Application View for an Application View control.

Note: The @jc:av-identity 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-identity annotation. Controls with the .ctrl extension continue to be supported in WebLogic Workshop.

# Syntax

@jc:av-identity

name="applicationViewName"

app="applicationName"

namespaceEnforcementEnabled="true | false"

# Attributes

name

Required. Specifies the name of the target Application View. The name is fully qualified and dot separated. The Application View must be deployed before the Application View control will function.

app

Required. Specifies the name of the associated WebLogic Workshop application. This is uusally the same as the current WebLogic Workshop application.
This parameter allows you to reuse an application view between WebLogic Workshop applications. First, define the application view in the context of the primary application. Then, define an Application View control in a process within a second application and specify the primary application in the app parameter. When reusing an application view from another application, all services are accessed synchronously.

namespaceEnforcementEnabled

If true, indicates that the client requires response instances and event instances to declare the namespace indicated in the response/event definitions, and force the proper namespace declaration onto the response/event if needed. Some legacy adapters do not provide responses/events using the namespaces declared in the response/event schema. This option allows clients that perform schema-based XML checking to use such adapters. The option is disabled by default, because it can have serious performance implications for adapters that return their responses/events as raw XML text (not parsed). In this case, this option forces a parse of the XML text in order to inject the proper namespace declaration.

# Remarks

The following rules apply to this annotation's use:

- Only one @jc:av-identity annotation may appear within a single Javadoc comment block.
- The @jc:av-identity annotation may appear in the Javadoc comment on the main interface defined in a Application View control's JCX file.

Related Topics

Application View Control

@jc:av-service Annotation