|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.websphere.command.LocalTarget
The LocalTarget class provides an implementation of the CommandTarget interface. It provides an executeCommand() method that runs the command locally, in the client's JVM.
Applications that need to run commands remotely must override this implementation.
Constructor Summary | |
---|---|
LocalTarget()
|
Method Summary | |
---|---|
TargetableCommand |
executeCommand(TargetableCommand command)
Runs a command locally (in the client's JVM). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalTarget()
Method Detail |
public TargetableCommand executeCommand(TargetableCommand command) throws java.rmi.RemoteException, CommandException
executeCommand
in interface CommandTarget
command
- The targetable command to be run.java.rmi.RemoteException
- The superclass for all remote exceptions.
This implementation should never throw a remote exception.CommandException
- The superclass for all command exceptions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |