This factory will instatiate query executors for each persistente type
configured.
Please note that specifying a query executor delegate for a persitence
method is optional, so it is possible to have a functional
persistence type which can't be queried.
author: Abel Muinho since: 1.0
getExecutorForPersistenceType(String name) Obtains a new QueryExecutorDelegate for the given
persistence type.
Parameters: name - the name of the persistence type.
static void
initializeDelegates(Map delegates) Package visible method to allow testing of the class without
having to set up any special configuration.
Obtains a new QueryExecutorDelegate for the given
persistence type.
Parameters: name - the name of the persistence type. the QueryExecutorDelegate. throws: InternalErrorException - if the QueryExecutorDelegatefor the given persistente type does not exist or an instancecan't be created.
Package visible method to allow testing of the class without
having to set up any special configuration.
Parameters: delegates - the map of QueryExecutorDelegate classes indexed bypersistence type name.