public interface CommandCaller
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.
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.
|
void unionDependencies(EntryInfo entryInfo)
entryInfo
- The cache entry's EntryInfo object.