What are the methods of the bean life cycle?

There are two important methods of the Bean life cycle:

  • Setup – called when the bean is loaded into the container
  • Teardown – called when the bean is unloaded into the container