UPCGManagedResource

This class is used to hold resources and their mechanism to delete them on demand.