allow interceptors to be registered via properties
This commit is contained in:
10
README.md
10
README.md
@@ -251,6 +251,16 @@ Because the integration tests within the project rely on the default H2 database
|
||||
NOTE: MS SQL Server by default uses a case-insensitive codepage. This will cause errors with some operations - such as when expanding case-sensitive valuesets (UCUM) as there are unique indexes defined on the terminology tables for codes.
|
||||
It is recommended to deploy a case-sensitive database prior to running HAPI FHIR when using MS SQL Server to avoid these and potentially other issues.
|
||||
|
||||
## Adding custom interceptors
|
||||
Custom interceptors can be registered with the server by including the property `hapi.fhir.custom-interceptor-classes`. This will take a comma separated list of fully-qualified class names which will be registered with the server.
|
||||
Interceptors will be discovered in one of two ways:
|
||||
|
||||
1) discovered from the Spring application context as existing Beans (can be used in conjunction with `hapi.fhir.custom-bean-packages`) or registered with Spring via other methods
|
||||
|
||||
or
|
||||
|
||||
2) classes will be instantiated via reflection if no matching Bean is found
|
||||
|
||||
## Customizing The Web Testpage UI
|
||||
|
||||
The UI that comes with this server is an exact clone of the server available at [http://hapi.fhir.org](http://hapi.fhir.org). You may skin this UI if you'd like. For example, you might change the introductory text or replace the logo with your own.
|
||||
|
||||
Reference in New Issue
Block a user