public interface ICommandResolver extends ISystemHandler
Modifier and Type | Method and Description |
---|---|
ICommand |
getCommand(String verb,
IURI id,
Map<String,ICommand> currentCommands)
Gets the command for a particular verb and resource id.
|
ICommand |
getCommand(String verb,
String type,
Map<String,ICommand> currentCommands)
Gets the mechanics for a particular verb and type.
|
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
ICommand getCommand(String verb, String type, Map<String,ICommand> currentCommands) throws BizException
verb
- an arbitrary verbtype
- describes the type of resource. May be NullcurrentCommands
- the current available commands to choose fromBizException
ICommand getCommand(String verb, IURI id, Map<String,ICommand> currentCommands) throws BizException
verb
- an arbitrary verbid
- uniquely describes this resource. Cannot be nullcurrentCommands
- the current available commands to choose fromBizException