public final void initialize(FaxClientSpi faxClientSpi,FaxClientSpiInterceptor[] interceptors)
    {
        if(this.initialized)
        {
            throw new FaxException("Fax client SPI proxy already initialized.");
        }
        
        //set flag
        this.initialized=true;
        
        //get configuration
        this.faxClientSpiInstance=faxClientSpi;
        
        if(interceptors==null)
        {
            this.faxClientSpiInterceptors=new FaxClientSpiInterceptor[0];
        }
        else
        {
            //get amount
            int amount=interceptors.length;
            
            //init array
            this.faxClientSpiInterceptors=new FaxClientSpiInterceptor[amount];
            
            //copy array
            System.arraycopy(interceptors,0,this.faxClientSpiInterceptors,0,amount);
        }
        
        //initialize
        this.initializeImpl();
    }
public final void initialize ( FaxClientSpi faxClientSpi , FaxClientSpiInterceptor [ ] interceptors ) { if ( this . initialized ) { throw new FaxException ( "Fax client SPI proxy already initialized." ) ; } this . initialized = true ; this . faxClientSpiInstance = faxClientSpi ; if ( interceptors == null ) { this . faxClientSpiInterceptors = new FaxClientSpiInterceptor [ 0 ] ; } else { int amount = interceptors . length ; this . faxClientSpiInterceptors = new FaxClientSpiInterceptor [ amount ] ; System . arraycopy ( interceptors , 0 , this . faxClientSpiInterceptors , 0 , amount ) ; } this . initializeImpl ( ) ; }
This function initializes the fax client SPI proxy.<br>
This method is called by the FaxClientSpiFactory.

@param   faxClientSpi
The fax client SPI
@param   interceptors
The fax client SPI interceptors (may be null)