com.atlassian.crowd.dao
Interface DaoDiscriminator
- All Known Implementing Classes:
- DirectoryDAOFile
public interface DaoDiscriminator
Objects that implement this interface can dynamically tell whether a DAO is in a state that permits handling
data access operations. For instance, a file-backed DAO requires a file to operate; without the file, the DAO
instance may exist, but be inactive. This interface can be implemented by the DAO itself, or by another class.
isActive
boolean isActive()
- Returns:
- true if the DAO is ready to handle data access operations.
Copyright © 2013 Atlassian. All Rights Reserved.