Package com.swiftmq.mgmt
Interface EntityRemoveListener
- All Known Implementing Classes:
EntityChangeAdapter
,EntityListEventAdapter
public interface EntityRemoveListener
A listener on an Entity which will be called before the Entity is removed.
- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onEntityRemove
(Entity parent, Entity delEntity) Called before the Entity is removed.
-
Method Details
-
onEntityRemove
Called before the Entity is removed. The listener should do the appropriate work and should throw an EntityRemoveException if there is any reason that prevents the removal. If no exception is thrown, the entity will be removed from the parent.- Parameters:
parent
- the parent.delEntity
- the entity to be delete.- Throws:
EntityRemoveException
- if there is any reason that prevents the removal.
-