Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

47 - replace SailConfiguration with loadable SailFactory's #47

Open
joshsh opened this issue Apr 8, 2011 · 0 comments
Open

47 - replace SailConfiguration with loadable SailFactory's #47

joshsh opened this issue Apr 8, 2011 · 0 comments

Comments

@joshsh
Copy link
Owner

joshsh commented Apr 8, 2011

At present, all of the code for instantiating various Sail implementations
(MemoryStore, LinkedDataSail, NativeStore, etc.) is in a single
SailConfiguration class.  It's not very extensible that way: it would be
better to have a single SailFactory abstract class and a number of
implementations, so that we can load implementations at runtime.  This
avoids tying Ripple to a fixed set of database dependencies.  The abstract
class will accept a Properties object in order to instantiate a Sail, the
properties used by the particular Sail implementation being specific to
that implementation.


Original link: http://code.google.com/p/ripple/issues/detail?id=47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant