Component methods called by the container to notify the component of important events in its life cycle.