Stefan Egli created SLING-5242:
----------------------------------

             Summary: VotingHander should only receive events under 
(configured) /var/discovery/impl
                 Key: SLING-5242
                 URL: https://issues.apache.org/jira/browse/SLING-5242
             Project: Sling
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: Discovery Impl 1.1.8
            Reporter: Stefan Egli
            Assignee: Stefan Egli
             Fix For: Discovery Impl 1.2.0


So far the discovery.impl's VotingHandler was registering itself as 
EventHandler for everything, filtering out at start of {{handleEvent}} if the 
event was not applicable for it (ie if it was not under /var/discovery/impl). 
This is extremely inefficient. The reason for doing it this way was the fact 
that the path (/var/discovery/impl) was configurable and could thus not be set 
as a annotation property to the VotingHandler class. However, that is possible 
via an explicit service registration.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to