java - @PluginTarget(Node.class) not registering as neo4j plugin -


Simple class below will not show as a plugin

  package com.danmacias neoneoteplugin ; Import java.util.ArrayList; Import java.util.list; Import org.neo4j.graphdb. *; Import org.neo4j.server.plugins *; Import org.neo4j.graphalgo *; // import org.neo4j.tooling.GlobalGraphOperations; @ Description (expansion of Neo4j server to achieve all nodes or relationships) Public class GetPaths expanded the server plugin {@ name ("breadth_first_paths") @ Description ("first wide travel traversal of specific node"). @plugin target (node ​​class) public shaky & lt; Path & gt; GetPaths (@ Source Node Graphidi) {ArrayList & lt; Path & gt; Path = new arreelist & lt; & Gt; (); Return path; }}  

curl return

  {"extension": {"GetAll": {"get_all_nodes": "http: // localhost: 7474 / db /  ext / GetAll / graphdb / get_all_nodes "} ...},  

But when I Node.class both conditions GraphDatabaseService I change with Class , it recognizes the plugin properly. Why would not this node accept?

In addition, / var / logs / neo4j does not show any errors related to this

@PluginTarget (Node.class )

100% is not fixed but I think the plug is anchored at the node level on the global extension While referring to a extension block as well as node-based plugins, while getting a node via the REST API instead, it is not visible.


Comments

  1. JCMH - Casino & Sportsbook at JMB Hotels & Resorts
    JMB 구리 출장안마 Hotels 정읍 출장안마 & Resorts 동해 출장샵 (JMB) locations, rates, 하남 출장샵 amenities: expert JMB research, only at Hotel and Travel 성남 출장안마 Index.

    ReplyDelete

Post a Comment

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -