- created wrapper to hold necessary attributes to destroy the bean later