com.ibm.websphere.command
Interface CommandCaller
-
- All Known Subinterfaces:
- CacheableCommand
- All Known Implementing Classes:
- CacheableCommandImpl
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.
-
-
Method Summary
Methods Modifier and Type Method and Description void
unionDependencies(EntryInfo entryInfo)
This interface allows the caller of a command to have additional invalidation dependencies added by the command.
-
-
-
Method Detail
-
unionDependencies
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.
-
-