CacheableCommandImpl class

Commands are implemented by extending the class CacheableCommandImpl, which implements the CacheableCommand interface.

The CacheableCommandImpl class is an abstract class that provides implementations for some of the methods in the CacheableCommand interface, for example, setting return values. This class declares additional methods that the application must implement, for example, how to run the command.

The code structure of an implementation class for the CacheableCommand interface follows:
... 
import com.ibm.websphere.command.*; 
public class MyCommandImpl extends CacheableCommandImpl 
implements MyCommand {       
// Set instance variables here      ...      
// Implement methods in the MyCommand interface      ...      
// Implement abstract methods in the CacheableCommandImpl class      
... 
}



Related tasks
Configuring command caching
Reference topic Reference topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=rdyn_cacheablecommandclass
File name: rdyn_cacheablecommandclass.html