@Override
    public ManagedServiceFactory addingService(ServiceReference<ManagedServiceFactory> reference) {
        String[] factoryPids = getServicePid(reference);
        if (factoryPids == null) {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "handleRegistration(): Invalid service.pid type: " + reference);
            }

            return null;
        }

        ManagedServiceFactory msf = context.getService(reference);
        if (msf == null)
            return null;

        synchronized (caFactory.getConfigurationStore()) {

            for (String factoryPid : factoryPids) {
                add(reference, factoryPid, msf);
            }
        }

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

@param reference
- ServiceReference for MangedServiceFactory