public ScanListener getScanListener ( ) { if ( m_listener == null ) { String strClassName = this . getProperty ( LISTENER_CLASS ) ; if ( strClassName == null ) strClassName = ReplaceScanListener . class . getName ( ) ; m_listener = ( ScanListener ) ClassServiceUtility . getClassService ( ) . makeObjectFromClassName ( strClassName ) ; if ( m_listener != null ) ( ( BaseScanListener ) m_listener ) . init ( this , null ) ; else System . exit ( 0 ) ; } return m_listener ; }
Get the scan listener .