@@ -0,0 +1,971 @@
+package com.xqbase.apool;%0A%0Aimport com.xqbase.apool.callback.Callback;%0A%0A/**%0A * This class maintains the lifecycle of the pool.%0A *%0A * @author Tony He%0A */%0Apublic interface LifeCycle%3CT%3E %7B%0A%0A    /**%0A     * Create a pool object.%0A     *%0A     * @param callback %7B@link Callback%7D invoked when the operation done.%0A     */%0A    void create(Callback%3CT%3E callback);%0A%0A    /**%0A     * Whether the get is validate or not.%0A     *%0A     * @param obj the pool object%0A     * @return true if validate otherwise false%0A     */%0A    boolean validateGet(T obj);%0A%0A    /**%0A     * Whether the put is validate or not.%0A     *%0A     * @param obj the pool object%0A     * @return true if validate otherwise false%0A     */%0A    boolean validatePut(T obj);%0A%0A    /**%0A     * Destroy the pool object.%0A     *%0A     * @param obj the pool object%0A     * @param error whether has error%0A     * @param callback %7B@link Callback%7D invoked when operation done%0A     */%0A    void destroy(T obj, boolean error, Callback%3CT%3E callback);%0A%7D%0A

add the LifeCycle interface...