[infinispan-issues] [JBoss JIRA] (ISPN-11800) Convert BackupReceiver to component

Pedro Ruivo (Jira) issues at jboss.org
Wed May 13 13:12:31 EDT 2020


     [ https://issues.redhat.com/browse/ISPN-11800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pedro Ruivo updated ISPN-11800:
-------------------------------
    Affects Version/s: 11.0.0.Dev05


> Convert BackupReceiver to component
> -----------------------------------
>
>                 Key: ISPN-11800
>                 URL: https://issues.redhat.com/browse/ISPN-11800
>             Project: Infinispan
>          Issue Type: Enhancement
>          Components: Core, Cross-Site Replication
>    Affects Versions: 11.0.0.Dev05
>            Reporter: Pedro Ruivo
>            Assignee: Pedro Ruivo
>            Priority: Major
>             Fix For: 11.0.0.CR1
>
>
> The {{BackupReceiver}} instance is created by {{BackupReceiverRepository}} and it needs access to the {{Cache}} instance for its dependencies.
> However, with the latest changes in Cross-Site Replication, it needs to be accessed by commands and the only way to do it is by doing:
> {code:java}
> BackupReceiver backupReceiver = registry.getGlobalComponentRegistry()
>             .getComponent(BackupReceiverRepository.class)
>             .getBackupReceiver(cache);
> {code}
> Bottom line: tt should be converted to a component.
> Another alternative would be to merge it with {{PerCacheInboundInvocationHandler}}... but it doesn't sound too good since it will increase the complexity and size of {{PerCacheInboundInvocationHandler}}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the infinispan-issues mailing list