Access to ServiceReference in iPOJO service
-------------------------------------------

                 Key: FELIX-2279
                 URL: https://issues.apache.org/jira/browse/FELIX-2279
             Project: Felix
          Issue Type: New Feature
          Components: iPOJO
    Affects Versions: iPOJO-1.4.0
            Reporter: Bengt Rodehav


As a convenience, it would be very useful for an iPOJO service to have access 
to its ServiceReference object. E g for logging purposes this is essential 
information. Assuming that the service has been registered prior to the 
@Validate method being called, it makes sense to provide the ServiceReference 
as an argument to this method.

If the service is not registered until the @Valid method returns, then another 
callback (e g @Registered) is needed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to