|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.scribe.invoker.DaoInvokerFactory
public class DaoInvokerFactory
Manages the creation of DaoInvokers
| Field Summary | |
|---|---|
static java.lang.String |
REPOSITORY_KEY
|
| Method Summary | |
|---|---|
DaoInvoker |
create(java.lang.Object dao,
ObjectStore objectStore)
Creates a DaoInvoker depending on the DAO object. |
static DaoInvokerFactory |
getInstance()
Returns the DaoInvokerFactory instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REPOSITORY_KEY
| Method Detail |
|---|
public static final DaoInvokerFactory getInstance()
public DaoInvoker create(java.lang.Object dao,
ObjectStore objectStore)
Dao, MappingDao,
Queryable, Locator or Flushable then a InterfaceDaoInvoker
is created and returned. If the DAO class is annotated with the Dao annotation
then a AnnotatedDaoInvoker is created and returned. If neither is the case then a
IllegalArgumentException exception is thrown.
dao - The DAO for which the invoker instantiatedobjectStore - An object store for caching and retrieving a cached AnnotatedDaoRuntimeInfoFactory object.
java.lang.IllegalArgumentException - if the DAO object doesn't match for a InterfaceDaoInvoker or AnnotatedDaoInvoker.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||