com.acsinet_solutions.cetia4.controller.rest
Class DynamicRestModuleFactory
java.lang.Object
com.acsinet_solutions.cetia4.controller.rest.DynamicRestModuleFactory
public class DynamicRestModuleFactory
- extends java.lang.Object
This is a factory class for RestModules nested or not that creates
objects based on abstract classes that implement a service locator
interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DynamicRestModuleFactory
public DynamicRestModuleFactory()
createRestModule
public static RestModuleSupport createRestModule(java.lang.Class c,
ServiceLocator locator,
Configuration configuration)
- Create a root RestModule from a base class and service locator reference
createRestModule
public static RestModuleSupport createRestModule(java.lang.Class c,
ServiceLocator locator,
Configuration configuration,
RestModule parent)
- Create a nested RestModule from a base class and service locator reference
using the provided RestModule parent.