Examples of addComponent()


Examples of org.geomajas.plugin.printing.component.impl.MapComponentImpl.addComponent()

    ScaleBarComponentImpl bar = createBar();
    LabelComponentImpl title = createTitle();

    LegendComponentImpl legend = new LegendComponentImpl();
    legend.setTag(PrintTemplate.LEGEND);
    map.addComponent(bar);
    map.addComponent(legend);
    map.addComponent(northarrow);
    page.addComponent(map);
    page.addComponent(title);
    PrintTemplate template = new PrintTemplate(true);
View Full Code Here

Examples of org.geomajas.plugin.printing.component.impl.PageComponentImpl.addComponent()

      }
    }
    LegendComponent comp = (LegendComponent) printDtoService.toInternal(legend);
    PageComponentImpl page = new PageComponentImpl();
    page.setSize("0 0", false);
    page.addComponent(comp);
    PrintTemplate template = new PrintTemplate();
    template.setPage(page);
    SinglePageDocument pdfDoc = new SinglePageDocument(page, null);
    FileOutputStream fo = new FileOutputStream("target/legend.png");
    pdfDoc.render(fo, Format.PNG);
View Full Code Here

Examples of org.grouplens.lenskit.core.LenskitConfiguration.addComponent()

            LenskitConfiguration dataConfig = new LenskitConfiguration();
            ExecutionInfo info = ExecutionInfo.newBuilder()
                                              .setAlgorithm(algo)
                                              .setDataSet(dataset)
                                              .build();
            dataConfig.addComponent(info);
            dataset.configure(dataConfig);
            // Build the graph
            DAGNode<Component, Dependency> graph = algo.buildRecommenderGraph(dataConfig);

            if (!separateAlgorithms) {
View Full Code Here

Examples of org.internna.iwebmvc.model.ui.UIGroup.addComponent()

            }
        });
        UIGroup group = createUIGroup(clazz);
        if (isNotEmpty(matchingFields))
            for(Field field : matchingFields)
                group.addComponent(callback.doWith(field));
        return group;
    }

    private static UIGroup createUIGroup(Class<?> clazz) {
        UIGroup group = new UIGroup();
View Full Code Here

Examples of org.jacorb.orb.TaggedComponentList.addComponent()

    public void add_ior_component (TaggedComponent component)
    {
        for (Iterator i = components.values().iterator(); i.hasNext();)
        {
            TaggedComponentList list = (TaggedComponentList)i.next();
            list.addComponent (component);
        }
    }

    /**
     * Adds the component to the profile with the given tag.
View Full Code Here

Examples of org.jacorb.orb.iiop.IIOPProfile.addComponent()

                if (iiopProfile.version().minor == 0)
                {
                    logger.debug("patching GIOP 1.0 profile to contain " +
                                 "SSL information from the multiple components profile");
                    iiopProfile.addComponent(org.omg.SSLIOP.TAG_SSL_SEC_TRANS.value,
                                             ssl, SSLHelper.class);
                }
            }
        }
    }
View Full Code Here

Examples of org.jboss.as.ee.component.ComponentRegistry.addComponent()

        // Iterate through each component, installing it into the container
        for (final ComponentConfiguration configuration : moduleConfiguration.getComponentConfigurations()) {
            try {
                ROOT_LOGGER.tracef("Installing component %s", configuration.getComponentClass().getName());
                deployComponent(phaseContext, configuration, dependencies, bindingDependencyService);
                componentRegistry.addComponent(configuration);

                //we need to make sure that the web deployment has a dependency on all components it the app, so web components are started
                //when the web subsystem is starting
                //we only add a dependency on components in the same sub deployment, otherwise we get circular dependencies when initialize-in-order is used
                deploymentUnit.addToAttachmentList(org.jboss.as.server.deployment.Attachments.WEB_DEPENDENCIES, configuration.getComponentDescription().getStartServiceName());
View Full Code Here

Examples of org.jboss.as.ee.component.EEApplicationDescription.addComponent()

                if (moduleDescription == null) {
                    // Not an EE deployment.
                    continue;
                }
                for (final ComponentDescription componentDescription : moduleDescription.getComponentDescriptions()) {
                    applicationDescription.addComponent(componentDescription, deploymentRoot.getRoot());
                }
                for (final Map.Entry<String, String> messageDestination : moduleDescription.getMessageDestinations().entrySet()) {
                    applicationDescription.addMessageDestination(messageDestination.getKey(), messageDestination.getValue(), deploymentRoot.getRoot());
                }
                for (final ComponentDescription componentDescription : subdeployment.getAttachmentList(org.jboss.as.ee.component.Attachments.ADDITIONAL_RESOLVABLE_COMPONENTS)) {
View Full Code Here

Examples of org.jboss.as.ee.component.EEModuleDescription.addComponent()

                    configuration.addViewInterceptor(new ImmediateInterceptorFactory(new TCCLInterceptor(componentConfiguration.getModuleClassLoader())), InterceptorOrder.View.TCCL_INTERCEPTOR);
                }
            });
            viewDescription.getBindingNames().addAll(Arrays.asList("java:module/" + beanName, "java:app/" + moduleDescription.getModuleName() + "/" + beanName));
            componentDescription.getViews().add(viewDescription);
            moduleDescription.addComponent(componentDescription);

            // register a EEResourceReferenceProcessor which can process @Resource references to this managed bean.
            registry.registerResourceReferenceProcessor(new ManagedBeanResourceReferenceProcessor(beanClassName));
        }
    }
View Full Code Here

Examples of org.jboss.managed.api.ManagedDeployment.addComponent()

               if(mc != null)
               {
                  type = new ComponentType(mc.type(), mc.subtype());
               }
               ManagedComponentImpl comp = new ManagedComponentImpl(type, md, bmdMO);
               md.addComponent(bmdMO.getName(), comp);
               log.debug("Created ManagedComponent("+comp.getName()+") of type: "
                     +type
                     +" for MO: "+bmdMO.getName()
                     +", componentName: "+bmdMO.getComponentName());              
            }
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.