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 execute 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      
... 
}