if ( services != null && services.length > 0 )
{
final Bundle bundle = getBundle();
for ( String service : services )
{
final Permission perm = new ServicePermission( service, ServicePermission.REGISTER );
if ( !bundle.hasPermission( perm ) )
{
log( LogService.LOG_DEBUG, "Permission to register service {0} is denied", new Object[]
{service}, null );
allowed = false;