|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.scribe.register.AbstractDaoRegister<D>
T - The DAO typepublic abstract class AbstractDaoRegister<D>
A abstract convenience implementation of the DaoRegister
The getDefaultDao() and getDao(String) methods both throw a
UnsupportedOperationException. The returnDao(Object) methods
does nothing.
| Constructor Summary | |
|---|---|
AbstractDaoRegister()
|
|
| Method Summary | |
|---|---|
D |
getDao(java.lang.String name)
Returns the DAO with the specified name. |
D |
getDefaultDao()
Returns the default DAO . |
void |
returnDao(D dao)
Returns the DAO to the register. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDaoRegister()
| Method Detail |
|---|
public D getDefaultDao()
DaoRegister
getDefaultDao in interface DaoRegister<D>public D getDao(java.lang.String name)
DaoRegister
getDao in interface DaoRegister<D>name - the name of the DAO
public void returnDao(D dao)
DaoRegister
returnDao in interface DaoRegister<D>dao - the DAO to return
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||