add get/set contents method defined in adplugin::LifeCycle class