All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nlab.smtp.pool.ObjectPoolAware Maven / Gradle / Ivy

package org.nlab.smtp.pool;

/**
 * Created by nlabrot on 30/04/15.
 */
public interface ObjectPoolAware {
    /**
     * Called after the object has been borrowed on the pool to set the pool on the object.
     *
     * @param objectPool
     */
    void setObjectPool(SmtpConnectionPool objectPool);

    SmtpConnectionPool getObjectPool();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy