The idea of this sample is to demonstrate how to use media type handlers. The sample application is to process project proposals, so we'll be using a component that intercepts Registry put()
requests with a particular proposal media-type. The Handler will read the proposal and mark it as valid or not. In order to be a valid proposal there should be a number of fields - if all of them are there then the handler will mark the proposal as valid. If one or more fields are missing then the proposal would be invalid.
Instructions
1. Copy the Copy the <G-REG_HOME>/samples/handler/bin/org.wso2.carbon.registry.samples.handler-4.5.0.jar
into GREG_HOME file into the <G-REG_HOME>/repository/components/
dropins/
directory.
2. You also can upload handlers through the administration console by visiting the "Add" in "Extensions."
...