Set clear method as destroy-method for bean.