Examples of addMapping()


Examples of org.glassfish.grizzly.servlet.ServletRegistration.addMapping()

                path = path.substring(0, path.length() - 1);
        }

        WebappContext context = new WebappContext("GrizzlyContext", path);
        ServletRegistration registration = context.addServlet(c.getName(), c);
        registration.addMapping("");
        if (initParams == null) {
            registration.setInitParameter(ClasspathResourceConfig.PROPERTY_CLASSPATH,
                    System.getProperty("java.class.path").replace(File.pathSeparatorChar, ';'));
        } else {
            registration.setInitParameters(initParams);
View Full Code Here

Examples of org.hibernate.validator.HibernateValidatorConfiguration.addMapping()

        try {
            SecurityActions.setContextClassLoader(classLoader);
            if (configuration == null) {
                ConstraintMapping mapping = new ConstraintMapping();
                HibernateValidatorConfiguration config = Validation.byProvider(HibernateValidator.class).providerResolver(new JbossProviderResolver()).configure();
                config.addMapping(mapping);
                ValidatorFactory factory = config.buildValidatorFactory();
                return factory;

            } else {
                return configuration.buildValidatorFactory();
View Full Code Here

Examples of org.jboss.as.cmp.jdbc.metadata.JDBCTypeMappingMetaData.addMapping()

                case FUNCTION_MAPPING: {
                    metaData.addFunctionMapping(parseFunctionMapping(reader));
                    break;
                }
                case MAPPING: {
                    metaData.addMapping(parseMapping(reader));
                    break;
                }
                case MAX_KEYS_IN_DELETE: {
                    final String value = getElementText(reader);
                    try {
View Full Code Here

Examples of org.jibx.binding.model.BindingHolder.addMapping()

            }
           
            // add all details of class member handling to binding
            inmembmap.putAll(exmembmap);
            addMemberBindings(cust, exmembmap, inmembmap, mainmapping, hold);
            hold.addMapping(mainmapping);
            if (mapabs != null && mapcon != null) {
               
                // define content as structure reference to abstract mapping
                struct = new StructureElement();
                QName tname = detail.getTypeQName();
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.TreeMapper.addMapping()

        return !sourceNode.isFolder() && !targetNode.isFolder();
    }

    private void addSingleMapping(Node sourceNode, Node targetNode) {
        TreeMapper treeMapper = page.getTreeMapper();
        treeMapper.addMapping(sourceNode, targetNode);
    }

    private void doStraightMapping(Node sourceNode, Node targetNode) {
        TreeMapper treeMapper = page.getTreeMapper();
        treeMapper.doStraightMappings(sourceNode, targetNode);
View Full Code Here

Examples of org.jitterbit.integration.client.ui.interchange.entity.transformation.tree.mappings.MappingManager.addMapping()

        MappingManager mappings = treeMapper.getMappingManager();
        NodeMapping mp = mappings.findMapping(targetNode.m_deName);
        if(targetNode.getSourcePath()!=null){
          if(mp==null) {
                mp = treeMapper.getNodeMappingFactory().newMapping(targetNode.m_deName, targetNode.getSourcePath());
                mappings.addMapping(mp);
          }
            else {
                if (setDirty) {
                    mappings.replaceMapping(targetNode.getSourcePath(),targetNode.m_deName);
                } else {
View Full Code Here

Examples of org.mule.config.spring.parsers.MuleDefinitionParser.addMapping()

                new ChildListEntryDefinitionParser(DISABLED_EVENT,
                        NotificationDefinitionParser.EVENT_CLASS));

        MuleDefinitionParser parser =
                new ChildListEntryDefinitionParser(DISABLED_INTERFACE, NotificationDefinitionParser.INTERFACE);
        parser.addMapping(NotificationDefinitionParser.INTERFACE, NotificationDefinitionParser.INTERFACE_MAP);
        addDelegate(NotificationDefinitionParser.INTERFACE, parser);

        addDelegate(NotificationDefinitionParser.INTERFACE_CLASS,
                new ChildListEntryDefinitionParser(DISABLED_INTERFACE,
                        NotificationDefinitionParser.INTERFACE_CLASS));
View Full Code Here

Examples of org.mule.config.spring.parsers.MuleDefinitionParserConfiguration.addMapping()

    public void init()
    {
        registerStandardTransportEndpoints(Pop3sConnector.POP3S, URIBuilder.USERHOST_ATTRIBUTES);

        MuleDefinitionParserConfiguration parser = registerConnectorDefinitionParser(Pop3sConnector.class);
        parser.addMapping("defaultProcessMessageAction", EmailNamespaceHandler.DEFAULT_PROCESS_MESSAGE_ACTION);

        registerBeanDefinitionParser("tls-trust-store", new TrustStoreDefinitionParser());
        registerBeanDefinitionParser("tls-client", new ClientKeyStoreDefinitionParser());
    }
}
View Full Code Here

Examples of org.mule.config.spring.parsers.collection.ChildListEntryDefinitionParser.addMapping()

                new ChildListEntryDefinitionParser(DISABLED_EVENT,
                        NotificationDefinitionParser.EVENT_CLASS));

        MuleDefinitionParser parser =
                new ChildListEntryDefinitionParser(DISABLED_INTERFACE, NotificationDefinitionParser.INTERFACE);
        parser.addMapping(NotificationDefinitionParser.INTERFACE, NotificationDefinitionParser.INTERFACE_MAP);
        addDelegate(NotificationDefinitionParser.INTERFACE, parser);

        addDelegate(NotificationDefinitionParser.INTERFACE_CLASS,
                new ChildListEntryDefinitionParser(DISABLED_INTERFACE,
                        NotificationDefinitionParser.INTERFACE_CLASS));
View Full Code Here

Examples of org.ontoware.rdfreactor.generator.java.JModel.addMapping()

                JClass jc = new JClass(jp, classname, (URI)rc.getResource());
                jc.setComment(Utils.toJavaComment(rc.getAllComment_asList())); // might
                                                                               // be
                                                                               // null,
                                                                               // ok.
                jm.addMapping(rc.getResource(), jc);
            }
        }
       
        log.debug(">>>> Inheritance");
        // get all classes and link superclasses
View Full Code Here
TOP
Copyright © 2015 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.