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