Interface ICommandResolver

All Superinterfaces:
IComponent, IInitializable, ISystemHandler

public interface ICommandResolver extends ISystemHandler
Assists the command manager in aquiring the command for a particular type of resources managed by the service associated with this resolver.
  • Method Details

    • getCommand

      ICommand getCommand(String verb, String type, Map<String,ICommand> currentCommands) throws BizException
      Gets the mechanics for a particular verb and type.
      Parameters:
      verb - an arbitrary verb
      type - describes the type of resource. May be Null
      currentCommands - the current available commands to choose from
      Throws:
      BizException
    • getCommand

      ICommand getCommand(String verb, IURI id, Map<String,ICommand> currentCommands) throws BizException
      Gets the command for a particular verb and resource id.
      Parameters:
      verb - an arbitrary verb
      id - uniquely describes this resource. Cannot be null
      currentCommands - the current available commands to choose from
      Throws:
      BizException