|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.scribe.register.MapDaoRegister.Builder<T>
T - The DAO typepublic static class MapDaoRegister.Builder<T>
Builds a MapDaoRegister object.
| Constructor Summary | |
|---|---|
MapDaoRegister.Builder()
creates an empty Builder |
|
MapDaoRegister.Builder(Map<String,? extends T> map)
Creates an Builder and copies all of the mappings for the specified map to this builder |
|
| Method Summary | |
|---|---|
MapDaoRegister<T> |
build()
Creates the MapDaoRegister and provides it with the DAO map |
MapDaoRegister.Builder<T> |
put(String name,
T dao)
Adds a DAO under a specified name |
MapDaoRegister.Builder<T> |
putAll(Map<String,? extends T> map)
Copies all of the mappings for the specified map to this builder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapDaoRegister.Builder()
public MapDaoRegister.Builder(Map<String,? extends T> map)
| Method Detail |
|---|
public MapDaoRegister.Builder<T> put(String name,
T dao)
name - the name of the DAOdao - the DAO
public MapDaoRegister.Builder<T> putAll(Map<String,? extends T> map)
map - mapping to be stored in this builder
public MapDaoRegister<T> build()
MapDaoRegister
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||