@ Override public ManagedService addingService ( ServiceReference < ManagedService > reference ) { String [ ] pids = getServicePid ( reference ) ; if ( pids == null ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "handleRegistration(): Invalid service.pid type: " + reference ) ; } return null ; } ManagedService ms = context . getService ( reference ) ; if ( ms == null ) return null ; synchronized ( caFactory . getConfigurationStore ( ) ) { for ( String pid : pids ) { add ( reference , pid , ms ) ; } } return ms ; }
Processes registered ManagedService and updates each with their own configuration properties .