public static GoogleConnector getInstance ( ) { if ( instance == null ) { try { instance = new GoogleConnector ( ) ; } catch ( Exception e ) { throw new RuntimeException ( "The GoogleConnector could not be instanced!" , e ) ; } } return instance ; }
On demand instance creator method used to get the single instance of this google authenticator class .