com.ibm.websphere.command

Interface CommandCaller

All known subinterfaces:
CacheableCommand
All known implementing classes:
CacheableCommandImpl

  1. public interface CommandCaller
This interface allows the caller of a command to have additional invalidation dependencies added by this command. If the caller is a cacheable JSP or command, then it sets an object that supports this interface on the command that is called using the CacheableCommand.setCaller method. Every CacheableCommand is a CommandCaller. When the client is a command, it would call the following:
     command.setCaller(this);
The request object for a JSP/Servlet is a CommandCaller. When the client is a JSP/Servlet, it would call the following:
     command.setCaller(request);
The called command gets the caller via the CacheableCommand.getCaller method, and uses this interface to add the dependencies.

See the white paper for more information.


Method Summary

Modifier and Type Method and Description
  1. void
unionDependencies(EntryInfo entryInfo)
This interface allows the caller of a command to have additional invalidation dependencies added by the command.

Method Detail

unionDependencies

  1. void unionDependencies(EntryInfo entryInfo)
This interface allows the caller of a command to have additional invalidation dependencies added by the command. It is called by the CacheableCommandImpl class.
Parameters:
entryInfo - The cache entry's EntryInfo object.