com.ibm.commerce.command

Class ECCommandTarget

  • java.lang.Object
    • com.ibm.commerce.command.ECCommandTarget
  • All Implemented Interfaces:
    com.ibm.websphere.command.CommandTarget, java.io.Serializable


    public class ECCommandTarget
    extends java.lang.Object
    implements com.ibm.websphere.command.CommandTarget, java.io.Serializable
    This class defines the CommandTarget for TargetableCommand objects that are executed in the command client's JVM.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      ECCommandTarget()
      This is the default constructor for this class.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.websphere.command.TargetableCommand executeCommand(com.ibm.websphere.command.TargetableCommand command)
      This is the executeCommand method.
      static ECCommandTarget singleton()
      This method gets an instance of the ECCommandTarget that will be shared within the classloader.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ECCommandTarget

        public ECCommandTarget()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • singleton

        public static ECCommandTarget singleton()
        This method gets an instance of the ECCommandTarget that will be shared within the classloader.
        Returns:
        This method returns a shared instance of ECCommandTarget.
      • executeCommand

        public com.ibm.websphere.command.TargetableCommand executeCommand(com.ibm.websphere.command.TargetableCommand command)
                                                                   throws ECException
        This is the executeCommand method.
        Specified by:
        executeCommand in interface com.ibm.websphere.command.CommandTarget
        Parameters:
        command - This is the TargetableCommand to be executed.
        Returns:
        This method returns the TargetableCommand that has been executed.
        Throws:
        ECException