Create Registry Filter Artifact

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





New Server Runtime



There are two ways to create an Registry Filter Artifact.

  1. From Workspace
  2. From File System
If you select From Workspace option, it will list all the projects that include a Filter class which is created by extending org.wso2.carbon.registry.core.jdbc.handlers.filters.Filter class, if there is any.



New Server Runtime



If you do not have any projects with Filter class, you can create a new class extending org.wso2.carbon.registry.core.jdbc.handlers.filters.Filter base class by clicking on New button of the From Workspace option. Give the necessary information and it will create a class, extending the base class.





New Server Runtime



With the second option, you can point a jar file which contains a filter class from the file system.





New Server Runtime



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





New Server Runtime



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