T- the DAO type
public interface DaoRegister<T>
Makes it possible to retrieve a default unnamed DAO or one or more named DAO's.
DAO's retrieved from a DaoRegister should always be returned
to the DaoRegister by calling the
UnsupportedOperationException- if the getDao() operation is not supported by this DaoRegister.
name- the name of the DAO
UnsupportedOperationException- if the getDao(String) operation is not supported by this DaoRegister.
void returnDao(T dao)
dao- the DAO to return
Copyright © 2020. All rights reserved.