Lazy read of obr.repository.url
-------------------------------
Key: FELIX-485
URL: https://issues.apache.org/jira/browse/FELIX-485
Project: Felix
Issue Type: Improvement
Components: Bundle Repository (OBR)
Affects Versions: 1.0.0
Reporter: Alin Dreghiciu
Priority: Minor
Initial repository list is created by reading the "obr.repository.url" in
RepositoryAdminImpl. This can(should) be changed with a lazy initialization (so
read of obr.repository.url) by the moment that is actually needed, as for
example moving this build up to initialize method and use the addRepository
method for each entry in the list).
The "problem" with initializing the list in constructor is that if as a user
you use the api to construct the list of repositories you will end up always
with the default repository (which you have to remove it then by using the api).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.