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, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
InstantiationException
- if creating an instance failed.IllegalAccessException
- if creating an instance is not allowed.SecurityException
NoSuchMethodException
InvocationTargetException
IllegalArgumentException