org.hibernate.secure
Class JACCPreDeleteEventListener
java.lang.Object
org.hibernate.secure.JACCPreDeleteEventListener
- All Implemented Interfaces:
- Initializable, JACCSecurityListener, PreDeleteEventListener, Serializable
- public class JACCPreDeleteEventListener
- extends Object
- implements PreDeleteEventListener, Initializable, JACCSecurityListener
Check security before any deletion
- Author:
- Kabir Khan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JACCPreDeleteEventListener
public JACCPreDeleteEventListener()
onPreDelete
public boolean onPreDelete(PreDeleteEvent event)
- Description copied from interface:
PreDeleteEventListener
- Return true if the operation should be vetoed
- Specified by:
onPreDelete
in interface PreDeleteEventListener
initialize
public void initialize(Configuration cfg)
- Specified by:
initialize
in interface Initializable