this is a sample of spring life cycle management