Skip to content

Commit

Permalink
Added the ability to wire JpaConformanceProviderDstu1 & JpaConformanc…
Browse files Browse the repository at this point in the history
  • Loading branch information
C. Mike Bylund committed Nov 7, 2015
1 parent 65c4250 commit 3ff6822
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ public JpaConformanceProviderDstu1(RestfulServer theRestfulServer, IFhirSystemDa
super.setCache(false);
}

public JpaConformanceProviderDstu1(){
super();
super.setCache(false);
}

@Override
public Conformance getServerConformance(HttpServletRequest theRequest) {
Conformance retVal = myCachedValue;
Expand Down Expand Up @@ -95,6 +100,16 @@ public Conformance getServerConformance(HttpServletRequest theRequest) {
return retVal;
}

@Override
public void setRestfulServer(RestfulServer theRestfulServer) {
this.myRestfulServer = theRestfulServer;
super.setRestfulServer(theRestfulServer);
}

public void setMySystemDao(IFhirSystemDao<List<IResource>> mySystemDao) {
this.mySystemDao = mySystemDao;
}

public void setImplementationDescription(String theImplDesc) {
myImplementationDescription = theImplDesc;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ public JpaConformanceProviderDstu2(RestfulServer theRestfulServer, IFhirSystemDa
super.setCache(false);
}

public JpaConformanceProviderDstu2(){
super();
super.setCache(false);
}

@Override
public Conformance getServerConformance(HttpServletRequest theRequest) {
Conformance retVal = myCachedValue;
Expand Down Expand Up @@ -105,8 +110,21 @@ public Conformance getServerConformance(HttpServletRequest theRequest) {
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<Bundle> mySystemDao) {
this.mySystemDao = mySystemDao;
}

public void setImplementationDescription(String theImplDesc) {
myImplementationDescription = theImplDesc;
}

}

0 comments on commit 3ff6822

Please sign in to comment.