public class LocalTarget extends java.lang.Object implements CommandTarget
Applications that need to run commands remotely must override this implementation.
|Constructor and Description|
|Modifier and Type||Method and Description|
Runs a command locally (in the client's JVM).
public TargetableCommand executeCommand(TargetableCommand command) throws java.rmi.RemoteException, CommandException
command- The targetable command to be run.
false, this method can return null as a performance optimization.
java.rmi.RemoteException- The superclass for all remote exceptions. This implementation should never throw a remote exception.
CommandException- The superclass for all command exceptions.