Handler Packaging
A query handler class and all the properties files that configure it must be correctly packaged in a JAR file before you can deploy it. To package it you must:
-
Copy the files into a folder structure that matches:
-
The package name of your model processor class
-
The Content Engine's package naming conventions
-
-
Pack it in a JAR file
Handler Package Structure
For the query handler example shown earlier, you would need to create a JAR file with the following structure:
com
+-escenic
| +-servlet
| +-default-config
| +-com
| +-escenic
| | +-framework
| | +-datasource
| | +-FetcherConfig.properties
| +-mycompany
| +-datasource
| +-query
| +-handler
| +-MyQueryHandler.properties
+-mycompany
+-datasource
+-query
+-handler
+-MyQueryHandler.class