public void setFhirContext ( FhirContext theContext ) { if ( myContext != null && myContext != theContext ) { throw new IllegalStateException ( "RestfulClientFactory instance is already associated with one FhirContext. RestfulClientFactory instances can not be shared." ) ; } myContext = theContext ; }
Sets the context associated with this client factory . Must not be called more than once .