@ejb.facade-method

Scope: method

Multiplicity

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

Purpose

This tag marks a session bean method for inclusion in a remote facade. Applies to the interface methods of session beans.

Parameters

Parameter Type Applicability Description Mandatory
invalidate boolean Mark this method as invalidating. Remote Facade will fire callbacks and zap caches. Use on methods which change EJB or create/remove entities.
Note: Setting this to true will have no effect for facade methods which cache their result.
Mark this method as invalidating. Remote Facade will set off callbacks and clear caches. Use on methods that change EJBs, or create or remove entities. The default value is
  • false
Note: Setting this to true will have no effect for facade methods that cache their results.
false
cache boolean   Sets up result caching for this method result. This has no effect on void methods. The default value is
  • false
false
immutable boolean   If value is immutable, it will be never invalidated. This has no effect on void methods. The default value is
  • false
false
Related reference
@ejb.bean
@ejb.create-method
@ejb.ejb-external-ref
@ejb.ejb-ref
@ejb.env-entry
@ejb.facade
@ejb.finder
@ejb.home
@ejb.home-method
@ejb.interface
@ejb.interface-method
@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.