Allocation Listener Ifc
An allocation listener is notified whenever the resource is allocated and when the resource is deallocated. This allows general actions to occur when the resource's state changes at these instances in time.