|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A command mapper that delegates to other mappers based on the prefix of the request path.
Method Summary | |
void |
register(java.lang.String prefix,
CommandMapper mapper)
Register a command mapper with the specified prefix |
void |
unregister(java.lang.String prefix)
Unregister a mapper for a given prefix. |
Methods inherited from interface org.jboss.portal.core.command.CommandMapper |
doMapping, doMapping |
Method Detail |
public void register(java.lang.String prefix, CommandMapper mapper) throws java.lang.IllegalArgumentException
prefix
- the prefix to associate withmapper
- the mapper
java.lang.IllegalArgumentException
- if any argument is null or another mapper is already registered with the prefixpublic void unregister(java.lang.String prefix) throws java.lang.IllegalArgumentException
prefix
- the prefix
java.lang.IllegalArgumentException
- if the argument is null or no mapper is registered under that prefix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |