Package jodd.madvoc.component

Examples of jodd.madvoc.component.ActionsManager.register()


    webapp.registerMadvocComponents();
    ActionsManager actionsManager = webapp.getComponent(ActionsManager.class);
    MadvocConfig madvocConfig = webapp.getComponent(MadvocConfig.class);
    madvocConfig.getRootPackages().addRootPackageOf(this.getClass());

    actionsManager.register(ReAction.class, "zqq1");
    actionsManager.register(ReAction.class, "zqq2");

    ActionConfig cfg = actionsManager.lookup("/config/dba.delete_multi", "GET");
    assertNotNull(cfg);
View Full Code Here


    ActionsManager actionsManager = webapp.getComponent(ActionsManager.class);
    MadvocConfig madvocConfig = webapp.getComponent(MadvocConfig.class);
    madvocConfig.getRootPackages().addRootPackageOf(this.getClass());

    actionsManager.register(ReAction.class, "zqq1");
    actionsManager.register(ReAction.class, "zqq2");

    ActionConfig cfg = actionsManager.lookup("/config/dba.delete_multi", "GET");
    assertNotNull(cfg);

    assertEquals("/${entityName}/dba.delete_multi", cfg.getActionPath());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.