private void provide(final String servicePid, final ConfigurationImpl config)
{
// check configuration
final TargetedPID configPid;
final Dictionary properties;
final long revision;
if ( config != null )
{
synchronized ( config )
{
configPid = config.getPid();
properties = config.getProperties( true );
revision = config.getRevision();
}
}
else
{
// 104.5.3 ManagedService.updated must be called with null
// if no configuration is available
configPid = new TargetedPID( servicePid );
properties = null;
revision = -1;
}
log( LogService.LOG_DEBUG, "Updating service {0} with configuration {1}@{2}", new Object[]