diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu1.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu1.java index 134e2ce30ad..c51eb66cfa8 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu1.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu1.java @@ -56,6 +56,11 @@ public class JpaConformanceProviderDstu1 extends ServerConformanceProvider { super.setCache(false); } + public JpaConformanceProviderDstu1(){ + super(); + super.setCache(false); + } + @Override public Conformance getServerConformance(HttpServletRequest theRequest) { Conformance retVal = myCachedValue; @@ -95,6 +100,16 @@ public class JpaConformanceProviderDstu1 extends ServerConformanceProvider { return retVal; } + @Override + public void setRestfulServer(RestfulServer theRestfulServer) { + this.myRestfulServer = theRestfulServer; + super.setRestfulServer(theRestfulServer); + } + + public void setMySystemDao(IFhirSystemDao> mySystemDao) { + this.mySystemDao = mySystemDao; + } + public void setImplementationDescription(String theImplDesc) { myImplementationDescription = theImplDesc; } diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu2.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu2.java index ec77e43dc58..4ac61f653b8 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu2.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/provider/JpaConformanceProviderDstu2.java @@ -60,6 +60,11 @@ public class JpaConformanceProviderDstu2 extends ServerConformanceProvider { super.setCache(false); } + public JpaConformanceProviderDstu2(){ + super(); + super.setCache(false); + } + @Override public Conformance getServerConformance(HttpServletRequest theRequest) { Conformance retVal = myCachedValue; @@ -105,8 +110,21 @@ public class JpaConformanceProviderDstu2 extends ServerConformanceProvider { return retVal; } + @Override + public void setRestfulServer(RestfulServer theRestfulServer) { + this.myRestfulServer = theRestfulServer; + super.setRestfulServer(theRestfulServer); + } + + public void setMyDaoConfig(DaoConfig myDaoConfig) { + this.myDaoConfig = myDaoConfig; + } + + public void setMySystemDao(IFhirSystemDao mySystemDao) { + this.mySystemDao = mySystemDao; + } + public void setImplementationDescription(String theImplDesc) { myImplementationDescription = theImplDesc; } - }