public interface LocalCommandFactory
AdHocCommandManager.registerCommand(String, String, LocalCommandFactory)
.Modifier and Type | Method and Description |
---|---|
LocalCommand |
getInstance()
Returns an instance of a LocalCommand.
|
LocalCommand getInstance() throws InstantiationException, IllegalAccessException
InstantiationException
- if creating an instance failed.IllegalAccessException
- if creating an instance is not allowed.