@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 fires callbacks and remove caches. Use on methods which change EJB or create/remove entities.
Note: Setting this to true has 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 has 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, the value is never invalidated. This has no effect on void methods. The default value is
  • false
false

Feedback