Examples of RouteContext


Examples of org.jboss.aerogear.controller.router.RouteContext

        return targetMethod.getParameterTypes().length == 0 ? new Object[] {} : new Object[] { t };
    }

    private RouteContext errorContext(final Throwable rootCause, final RouteContext orgContext) {
        final Route errorRoute = orgContext.getRoutes().routeFor(rootCause);
        return new RouteContext(errorRoute, wrapRequest(orgContext), orgContext.getResponse(), orgContext.getRoutes());
    }
View Full Code Here

Examples of org.kuali.rice.kew.engine.RouteContext

    assertTrue("branch list should be empty", result.getBranchNames().isEmpty());
   
    BusinessObjectService boSvc = mock(BusinessObjectService.class);
    annexTypeApprovalSplit.setBusinessObjectService(boSvc);
   
    RouteContext context = mock(RouteContext.class);
    DocumentRouteHeaderValue docHdr = mock(DocumentRouteHeaderValue.class);
    when(context.getDocument()).thenReturn(docHdr);
   
    MatterWork work = mock(MatterWork.class);
    MatterAnnexType annexType = new MatterAnnexType();
    when(work.getAnnexType()).thenReturn(annexType);
   
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.