oemware.core.apictrl
Class ApiController

java.lang.Object
  extended by oemware.core.apictrl.ApiController

public final class ApiController
extends java.lang.Object

The api controller.


Constructor Summary
ApiController(java.lang.String pName, java.lang.String pConfigFile)
          Construct with args.
 
Method Summary
 void executeAction(ActionContext pContext)
          Execute the action.
 void executeAction(java.lang.String pControllerPath, java.lang.String pActionName, ActionContext pContext)
          Execute the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiController

public ApiController(java.lang.String pName,
                     java.lang.String pConfigFile)
Construct with args.

Parameters:
pName - A unique name to identify problems in log files..
pConfigFile - The configuration file name. This file needs to be in the Java classpath.
Method Detail

executeAction

public final void executeAction(ActionContext pContext)
Execute the action.

Parameters:
pContext - The action context.

executeAction

public final void executeAction(java.lang.String pControllerPath,
                                java.lang.String pActionName,
                                ActionContext pContext)
Execute the action.

Parameters:
pControllerPathThe - controller path.
pActionName - The action name.
pContext - The action context.


Copyright © 2009 Deft Labs - Released under LGPL, Version 3.0