this will retrieve the singleton instance of this class , allowing it to be used across applications . concode_field_sep Logger log concode_elem_sep ValidatorService instance concode_field_sep ValidatorResult validateObject concode_elem_sep ValidatorResult validateObject concode_elem_sep ValidatorResult validateObject
ValidatorService function ( ) { if ( instance == null ) { synchronized ( ValidatorService . class ) { instance = new ValidatorService ( ) ; } } return instance ; }