work.addProperty( HttpUrlContinuationWorkSource.PROPERTY_URI_PATH, uriPath); if (isSecure != null) { work.addProperty( HttpUrlContinuationWorkSource.PROPERTY_SECURE, String.valueOf(isSecure));
HttpFileWorkSource.class.getName()); SourceHttpResourceFactory.copyProperties(context, work); work.addProperty(HttpFileWorkSource.PROPERTY_RESOURCE_PATH, resourcePath); SectionTask task = work.addSectionTask(resourcePath,
subscribeWork.addProperty(ClassWorkSource.CLASS_NAME_PROPERTY_NAME, SubscribeWork.class.getName()); publishWork.addProperty( PublishWorkSource.PROPERTY_MANUAL_PUBLISH_URI_PREFIX + outputFlowName, requestUriPrefix);
/** * Adds handling for a {@link Servlet} resource. * * @param inputName * {@link SectionInput} name. * @param requestDispatcherPath * {@link RequestDispatcher} path. * @param servletBridge * {@link ServletBridge} {@link SectionObject}. * @param designer * {@link SectionDesigner}. */ private void addServletResource(String inputName, String requestDispatcherPath, SectionObject servletBridge, SectionDesigner designer) { // Create the task to indicate Servlet container resource SectionWork work = designer.addSectionWork(inputName, ServletContainerResourceWorkSource.class.getName()); work.addProperty( ServletContainerResourceWorkSource.PROPERTY_SERVLET_CONTAINER_RESOURCE, requestDispatcherPath); SectionTask task = work.addSectionTask(inputName, "RESOURCE"); TaskObject dependency = task .getTaskObject(DependencyKeys.SERVLET_BRIDGE.name()); designer.link(dependency, servletBridge); // Link input for task SectionInput input = designer.addSectionInput(inputName, null); designer.link(input, task); }
templateWork.addProperty(HttpTemplateWorkSource.PROPERTY_TEMPLATE_CONTENT, templateContent); templateWork.addProperty(HttpTemplateWorkSource.PROPERTY_BEAN_PREFIX + templateTaskName, beanType.getName()); arrayIteratorWork.addProperty(HttpTemplateArrayIteratorWorkSource.PROPERTY_COMPONENT_TYPE_NAME, beanType.getName()); SectionTask arrayIteratorTask = arrayIteratorWork.addSectionTask( urlContinuationWork.addProperty(HttpUrlContinuationWorkSource.PROPERTY_URI_PATH, linkUriPath); if (isLinkSecure) { urlContinuationWork.addProperty(HttpUrlContinuationWorkSource.PROPERTY_SECURE, String.valueOf(isLinkSecure));
GwtServiceWorkSource.class.getName()); for (Property property : properties) { work.addProperty(property.getName(), property.getValue());
servlet.addProperty(HttpServletWorkSource.PROPERTY_SERVLET_NAME, servletName); servlet.addProperty(HttpServletWorkSource.PROPERTY_HTTP_SERVLET_CLASS_NAME, servletClass); servlet.addProperty(HttpServletWorkSource.PROPERTY_SERVLET_MAPPINGS, servletUrlPatterns); servlet.addProperty(HttpServletWorkSource.PROPERTY_PREFIX_INIT_PARAMETER + initParam.getName(), initParam.getValue());
work.addProperty(HttpSecurityWorkSource.PROPERTY_HTTP_SECURITY_SOURCE_KEY, key);