parent
c6777578a8
commit
d8542899e5
|
@ -44,6 +44,10 @@ public class DaoSearchParamProvider implements ISearchParamProvider {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int refreshCache(SearchParamRegistryImpl theSearchParamRegistry, long theRefreshInterval) {
|
public int refreshCache(SearchParamRegistryImpl theSearchParamRegistry, long theRefreshInterval) {
|
||||||
return theSearchParamRegistry.doRefresh(theRefreshInterval);
|
int retVal = 0;
|
||||||
|
if (myDaoRegistry.getResourceDao("SearchParameter") != null) {
|
||||||
|
retVal = theSearchParamRegistry.doRefresh(theRefreshInterval);
|
||||||
|
}
|
||||||
|
return retVal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,7 +51,6 @@ public abstract class BaseJavaConfig${versionCapitalized} extends ca.uhn.fhir.jp
|
||||||
|
|
||||||
#foreach ( $res in $resources )
|
#foreach ( $res in $resources )
|
||||||
@Bean(name="my${res.name}Dao${versionCapitalized}", autowire=Autowire.BY_NAME)
|
@Bean(name="my${res.name}Dao${versionCapitalized}", autowire=Autowire.BY_NAME)
|
||||||
@Lazy
|
|
||||||
public
|
public
|
||||||
#if ( ${versionCapitalized} == 'Dstu2' && ${res.name} == 'ValueSet' )
|
#if ( ${versionCapitalized} == 'Dstu2' && ${res.name} == 'ValueSet' )
|
||||||
IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet, ca.uhn.fhir.model.dstu2.composite.CodingDt, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
|
IFhirResourceDaoValueSet<ca.uhn.fhir.model.dstu2.resource.ValueSet, ca.uhn.fhir.model.dstu2.composite.CodingDt, ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt>
|
||||||
|
|
Loading…
Reference in New Issue