1 /*
2 * Replica is published under the terms
3 * of the Apache Software License.
4 */
5 package replica.command;
6
7
8 /***
9 * Interface for the mappings configuration of the commands processor.
10 *
11 * @author Pedro Costa
12 * @author Helder Silva
13 * @since 17/Jan/2004
14 */
15 public interface Mappings {
16
17 /***
18 * Return the mapped class for the given command.
19 *
20 * @param actionId
21 * @return the mapped class.
22 */
23 Class getMappedClass(String actionId) throws CommandException;
24
25 /***
26 * Return a new command instance for the given action ID.
27 *
28 * @param actionId
29 * @return a new Command instance.
30 */
31 Command getNewCommand(String actionId) throws CommandException;
32
33 }
This page was automatically generated by Maven