Apply access intent policies to methods
You apply an access intent policy to a method, or set of methods, in an application's entity beans through the Application Assembly Tool (AAT).
- Start the AAT.
- Create or edit the application EAR file. For example, to change attributes of an existing application, select File --> Open, then select the EAR file.
- Select EJB Modules --> moduleName --> Access Intent.
- To configure a new access intent policy, right-click and select New.
- On the New Access Intent panel, specify a name and a description. These attributes are provided as a convenience to the developer and are not used at run time.
- To select the methods to which the access intent policy should apply, click Add beside the Methods table.
- From the Applied access intent list, select an access intent policy. For more information, see Access intent assembly settings .
- (Optional) To override an attribute defined in the applied policy, click Add beside the Access intent attribute overrides table.
- Click OK to exit the New Access Intent panel.
- Save your configuration by selecting File --> Save.