@ejb.permission

Scope: method

Multiplicity

(0..1): You can use this tag zero or one time in the Java™ source file.

Purpose

This tag defines the transactional behavior for the method it is being applied to. Applies to methods with @ejb.create-method and @ejb.interface-method tags. When used on the class level, this tag applies to all interface methods cumulatively. Applies to session and entry beans.

Parameters

Parameter Type Applicability Description Mandatory
role-name text   Comma-separated list of roles allowed to call this method. false
unchecked boolean   Flags the method as having unchecked permission. If the parameter unchecked is present, role-name must be omitted. You must specify one of the following attributes:
  • true
  • false
The default value is
  • true
false
Related reference
@ejb.bean
@ejb.create-method
@ejb.ejb-external-ref
@ejb.ejb-ref
@ejb.env-entry
@ejb.facade
@ejb.facade-method
@ejb.finder
@ejb.home
@ejb.home-method
@ejb.interface
@ejb.interface-method
@ejb.persistence
@ejb.persistence (method)
@ejb.pk
@ejb.pk-field
@ejb.relation
@ejb.remote-facade
@ejb.resource-env-ref
@ejb.resource-ref
@ejb.security-identity
@ejb.security-role-ref
@ejb.select
@ejb.session
@ejb.transaction
@ejb.util
@ejb.value-object
@ejb.value-object-method
Terms of use | Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.