Database Reference
In-Depth Information
1
. Write a class that extends the
ServerPlugin
class.
2
. Ensure that the fully qualified name of the server plugin class is listed in a file
called org.neo4j.server.plugins.ServerPlugin.
3
. Ensure that the plugin class and file are JAR files, and that they're placed on the
class path of the Neo4j server.
4
. Access the functionality by discovering and then calling the appropriate REST
URL.
The following listing shows a
ServerPlugin
class we created to extend the capabilities
of a node by finding all friends with names starting with a
J
.
Listing 10.13.
ServerPlugin
class