[MAGNOLIA-8069] RepositoryManager should be a system component Created: 20/Apr/21  Updated: 22/Apr/21  Resolved: 22/Apr/21

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 6.2.7
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Workaround exists Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-8070 JackRabbit specific RepositoryManager Closed
is related to MGNLBACKUP-142 RepositoryManager should be injected ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

In order to access information about the repository easier RepositoryManager should be a system level component:

  <components>
    <id>system</id>
    <component>
      <type>info.magnolia.repository.RepositoryManager</type>
      <implementation>info.magnolia.repository.DefaultRepositoryManager</implementation>
    </component>


 Comments   
Comment by Richard Gange [ 22/Apr/21 ]

Use Components

this.repositoryManager = Components.getComponent(RepositoryManager.class);
Generated at Mon Feb 12 04:29:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.