Create Registry Handler Artifact

To create a Registry Handler Artifact, right click on the CApp project and select Registry Handler from the menu.





New Server Runtime



To create a Registry Handler Artifact, you need to have two types of classes. Handler class which is exteneded by org.wso2.carbon.registry.core.jdbc.handlers.Handler and a Filter class which is extended by org.wso2.carbon.registry.core.jdbc.handlers.filters.Filter.

First wizard page is regarding information of Handler class. If you have a class extending org.wso2.carbon.registry.core.jdbc.handlers.Handler in the workspce, information regarding that class and project will be filled for you.





New Server Runtime



You can create a new Handler class by clicking on New option as well.





New Server Runtime



You can select Handler Properties and Hanlder methods and click Next.





New Server Runtime



In the next wizard page, you have to give the information regarding Filter class. If you have Filter class already in the workspace, those information will be filled in the drop-down box.





New Server Runtime



As you did for Handlers, you can create a new Filter class by clicking New option.

Define filter criteria and click Next.

Select the CApp project you want to create Registry Handler Artifact and and give a name to the Registry Handler Artifact. Then click Finish.





New Server Runtime



Now you will see a new Registry Handler Artifact has been created under Artifacts folder of the CApp project.





New Server Runtime