com.sdm.quasar.client.jsf.commands.adapters
Class CommandManagerResolver

java.lang.Object
  extended bycom.sdm.quasar.client.jsf.commands.adapters.CommandManagerResolver
All Implemented Interfaces:
KeywordResolver

public class CommandManagerResolver
extends java.lang.Object
implements KeywordResolver


Nested Class Summary
 class CommandManagerResolver.CommandManagerAction
           
 
Constructor Summary
CommandManagerResolver(java.lang.String keyword, CommandManager commandManager)
           
 
Method Summary
 boolean canResolve(java.lang.String keyword)
          Checks, if this resolver is responsible to resolve the given keyword
 java.lang.Class getResolvedType(java.lang.String keyword)
           
 java.lang.Object resolve(java.lang.String keyword)
          Performs the resolve step according to the keyword.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandManagerResolver

public CommandManagerResolver(java.lang.String keyword,
                              CommandManager commandManager)
Method Detail

canResolve

public boolean canResolve(java.lang.String keyword)
Description copied from interface: KeywordResolver
Checks, if this resolver is responsible to resolve the given keyword

Specified by:
canResolve in interface KeywordResolver
Parameters:
keyword - the keywort to be resolved
Returns:
true, if the given keyword can be resolved

getResolvedType

public java.lang.Class getResolvedType(java.lang.String keyword)
Specified by:
getResolvedType in interface KeywordResolver
Parameters:
keyword - the keyword to be resolve
Returns:
the class of the resolved object

resolve

public java.lang.Object resolve(java.lang.String keyword)
Description copied from interface: KeywordResolver
Performs the resolve step according to the keyword. The Result may be

Specified by:
resolve in interface KeywordResolver
Parameters:
keyword - the keyword to be resolve
Returns:
the resolved object