Examples of NodeIdFactory


Examples of edu.isi.karma.modeling.alignment.NodeIdFactory

   
    if (this instanceof ModelLearningGraphSparse)
      this.graphBuilder = new GraphBuilder(ontologyManager, false);
    else
      this.graphBuilder = new GraphBuilderTopK(ontologyManager, false);
    this.nodeIdFactory = new NodeIdFactory();
   
    Set<InternalNode> addedNodes = new HashSet<InternalNode>();
    Set<InternalNode> temp;
    File ff = new File(ServletContextParameterMap.getParameterValue(ContextParameter.JSON_MODELS_DIR));
    if (ff.exists()) {
View Full Code Here

Examples of edu.isi.karma.modeling.alignment.NodeIdFactory

  public LODSchemaGraphBuilder(OntologyManager ontologyManager,
      String objectPropertiesFile,
      String dataPropertiesFile) {

    this.ontologyManager = ontologyManager;
    this.nodeIdFactory = new NodeIdFactory();
    this.graphBuilder = new GraphBuilder(this.ontologyManager, false);

    List<Triple> objectPropertiesTriples = null;
    List<Triple> dataPropertiesTriples = null;
    try {
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

        UuidGenerator uuidGenerator = getBeanForType(UuidGenerator.class);
        if (uuidGenerator != null) {
            LOG.info("Using custom UuidGenerator: {}", uuidGenerator);
            getContext().setUuidGenerator(uuidGenerator);
        }
        NodeIdFactory nodeIdFactory = getBeanForType(NodeIdFactory.class);
        if (nodeIdFactory != null) {
            LOG.info("Using custom NodeIdFactory: {}", nodeIdFactory);
            getContext().setNodeIdFactory(nodeIdFactory);
        }
        StreamCachingStrategy streamCachingStrategy = getBeanForType(StreamCachingStrategy.class);
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

        UuidGenerator uuidGenerator = getBeanForType(UuidGenerator.class);
        if (uuidGenerator != null) {
            LOG.info("Using custom UuidGenerator: {}", uuidGenerator);
            getContext().setUuidGenerator(uuidGenerator);
        }
        NodeIdFactory nodeIdFactory = getBeanForType(NodeIdFactory.class);
        if (nodeIdFactory != null) {
            LOG.info("Using custom NodeIdFactory: {}", nodeIdFactory);
            getContext().setNodeIdFactory(nodeIdFactory);
        }
        StreamCachingStrategy streamCachingStrategy = getBeanForType(StreamCachingStrategy.class);
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

        UuidGenerator uuidGenerator = getBeanForType(UuidGenerator.class);
        if (uuidGenerator != null) {
            LOG.info("Using custom UuidGenerator: " + uuidGenerator);
            getContext().setUuidGenerator(uuidGenerator);
        }
        NodeIdFactory nodeIdFactory = getBeanForType(NodeIdFactory.class);
        if (nodeIdFactory != null) {
            LOG.info("Using custom NodeIdFactory: " + nodeIdFactory);
            getContext().setNodeIdFactory(nodeIdFactory);
        }
    }
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

        UuidGenerator uuidGenerator = getBeanForType(UuidGenerator.class);
        if (uuidGenerator != null) {
            LOG.info("Using custom UuidGenerator: " + uuidGenerator);
            getContext().setUuidGenerator(uuidGenerator);
        }
        NodeIdFactory nodeIdFactory = getBeanForType(NodeIdFactory.class);
        if (nodeIdFactory != null) {
            LOG.info("Using custom NodeIdFactory: " + nodeIdFactory);
            getContext().setNodeIdFactory(nodeIdFactory);
        }
    }
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

    protected RouteBuilder createRouteBuilder() throws Exception {
        return new RouteBuilder() {
            @Override
            public void configure() throws Exception {
                // use our own id factory so we can generate the keys we like to use
                context.setNodeIdFactory(new NodeIdFactory() {
                    public String createId(OptionalIdentifiedDefinition<?> definition) {
                        return "#" + definition.getShortName() + ++counter + "#";
                    }
                });
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

        UuidGenerator uuidGenerator = getBeanForType(UuidGenerator.class);
        if (uuidGenerator != null) {
            LOG.info("Using custom UuidGenerator: " + uuidGenerator);
            getContext().setUuidGenerator(uuidGenerator);
        }
        NodeIdFactory nodeIdFactory = getBeanForType(NodeIdFactory.class);
        if (nodeIdFactory != null) {
            LOG.info("Using custom NodeIdFactory: " + nodeIdFactory);
            getContext().setNodeIdFactory(nodeIdFactory);
        }
    }
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

    protected RouteBuilder createRouteBuilder() throws Exception {
        return new RouteBuilder() {
            @Override
            public void configure() throws Exception {
                // use our own id factory so we can generate the keys we like to use
                context.setNodeIdFactory(new NodeIdFactory() {
                    public String createId(NamedNode definition) {
                        return "#" + definition.getShortName() + ++counter + "#";
                    }
                });
View Full Code Here

Examples of org.apache.camel.spi.NodeIdFactory

    protected RouteBuilder createRouteBuilder() throws Exception {
        return new RouteBuilder() {
            @Override
            public void configure() throws Exception {
                // use our own id factory so we can generate the keys we like to use
                context.setNodeIdFactory(new NodeIdFactory() {
                    public String createId(OptionalIdentifiedDefinition definition) {
                        return "#" + definition.getShortName() + ++counter + "#";
                    }
                });
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.