@ejb.interface-method

Scope: method

Multiplicity

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

Purpose

This tag declares which local or remote interface this method must appear in.If the view-type parameter is absent, then the method is added to whatever component interfaces are defined in @ejb.bean.

Parameters

Parameter Type Applicability Description Mandatory
view-type text   Specifies which view-type the method will be exposed in. The value local or both is only applicable to EJB 2.0 beans. You must specify one of the following attributes:
  • local
  • remote
  • both
The default value is
  • remote

[Optional]

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.permission
@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.