|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
void |
unionDependencies(EntryInfo entryInfo)
This interface allows the caller of a command to have additional invalidation dependencies added by the command. |
Method Detail |
---|
void unionDependencies(EntryInfo entryInfo)
entryInfo
- The cache entry's EntryInfo object.
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |