Type |
Task
|
Priority |
Normal
|
Assignee | |
RedmineID |
2173
|
Version |
tigase-server-7.0.0
|
Estimation |
6h
|
Spent time |
48h
|
Related
Issue Votes (0)
Watchers (0)
Right now whole repository API uses classes which are declared in
tigase-server.jar
and while in normal mode it is possible to use additional classes from separate jars in OSGi mode it is impossible.We need to improve this API to make it possible to allow registration of additional classes and ability to detect correct default implementation if we have passed only URI. This is important as we want to introduce MongoDB support which should be kept as external jar to make it easier to improve and update separatly and not to introduce additional dependecies.
Moreover we need this autodetection as repositories other than UserRepository,AuthRepository,DataRepository are existing in current codebase and we need to make them replacable with MongoDB alternatives just by having URI, so it is important to have automatic selection of implementation of Repository based on supported URI.