I'm definitely no expert, but I think you're mixing new syntax with
old.  If I remember correctly singleton="false" was replaced with
scope="prototype".  So maybe it was treating your beans as singletons,
which is why they were never getting destroyed.
 (*Chris*)

On 7/13/07, alex xander <[EMAIL PROTECTED]> wrote:
i have some problem with Spring IOC
i use struts 2.x, hibernate 3.x and spring 2.x
my problem is
the destroy-method in my class don't respon anything
it's looks like spring doesn't recognize my destroy method
<bean     id="persistenceManager" 
class="com.bba.persistence.hibernate.HibernatePersistenceManager"
            init-method="init"
            destroy-method="destroy"
            singleton="false">
        <property name="sessionFactory" ref="mySessionFactory"/>

    </bean>

i already implement org.springframework.beans.factory.DisposableBean in my class
can anyone help me


---------------------------------
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to