public boolean supports ( ServiceProfile profile ) { if ( profile == null ) { return false ; } if ( supportedServiceProfiles == null ) { return false ; } for ( ServiceProfile supportedProfile : supportedServiceProfiles ) { if ( supportedProfile == profile ) { return true ; } } return false ; }
Check if this service supports the specified profile .