geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Smith (JIRA)" <>
Subject [jira] [Created] (GEODE-1025) Remove compile dependency on spring data gemfire/geode
Date Mon, 29 Feb 2016 23:55:18 GMT
Dan Smith created GEODE-1025:

             Summary: Remove compile dependency on spring data gemfire/geode
                 Key: GEODE-1025
             Project: Geode
          Issue Type: Improvement
          Components: build
            Reporter: Dan Smith

We have a compile dependency on spring data gemfire in the ServerLauncher class to support
launching a server using a spring data gemfire configuration instead of a cache.xml file.

That's a good feature to have, but it should be part of spring data gemfire, not geode. Because
of this compile dependency on SDG, we currently have a circular dependency on SDG -> Geode
-> SDG. That makes it difficult to do things like rename packages in geode (GEODE-37) because
SDG is still using the old packages.

Instead of directly depending on spring data gemfire, we should provide an extension point
that SDG can plug into to override the cache server startup behavior.

The easiest place way to do this is just to use the java ServiceLoader mechanism. We can provide
an interface for a plugin that replaces startup behavior of the server. SDG can provide an
implementation of this interface.

This message was sent by Atlassian JIRA

View raw message