public static MockInternetGatewayController getInstance() {
        if (null == singletonMockInternetGatewayController) {
            // "double lock lazy loading" for singleton instance loading on first time usage
            synchronized (MockInternetGatewayController.class) {
                if (null == singletonMockInternetGatewayController) {
                    singletonMockInternetGatewayController = new MockInternetGatewayController();
                }
            }
        }
        return singletonMockInternetGatewayController;
    }
public static MockInternetGatewayController getInstance ( ) { if ( null == singletonMockInternetGatewayController ) { synchronized ( MockInternetGatewayController . class ) { if ( null == singletonMockInternetGatewayController ) { singletonMockInternetGatewayController = new MockInternetGatewayController ( ) ; } } } return singletonMockInternetGatewayController ; }
@return singleton instance of {@link MockInternetGatewayController}