public String validate ( ) { String result = null ; if ( this . messagingConfiguration == null || this . messagingConfiguration . isEmpty ( ) ) result = "The message configuration cannot be null or empty." ; else if ( this . messagingConfiguration . get ( MessagingConstants . MESSAGING_TYPE_PROPERTY ) == null ) result = "The message configuration does not contain the messaging type." ; else if ( Utils . isEmptyOrWhitespaces ( this . applicationName ) ) result = "The application name cannot be null or empty." ; else if ( Utils . isEmptyOrWhitespaces ( this . scopedInstancePath ) ) result = "The scoped instance's path cannot be null or empty." ; return result ; }
Validates this bean .