org.acegisecurity.domain.dao
Interface EvictionCapable

All Known Implementing Classes:
DaoHibernate

public interface EvictionCapable

Indicates an implementation capable of evicting PersistableEntitys.

Structured as a separate interface (rather than a subclass of Dao), as it is not required for all persistence strategies.

Version:
$Id: EvictionCapable.java,v 1.2 2005/11/17 00:55:47 benalex Exp $
Author:
Ben Alex

Method Summary
 void evict(PersistableEntity entity)
          Removes the indicated persistent instance from the DAO's internal map/session.
 

Method Detail

evict

void evict(PersistableEntity entity)
Removes the indicated persistent instance from the DAO's internal map/session.

If the passed object does not exist in the internal map/session, the invocation has no effect.

May throw an exception if the implementation so desires.

Parameters:
entity - to remove from the internal map/session


Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.