CacheableCommandImpl class

Implement commands 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, such as setting return values. This class declares additional methods that the application must implement, such as how to execute the command.

An implementation class for the CacheableCommand interface is written as 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      
... 
}