Service Discovery¶
Java service discovery is used to determine which classes in the plugin JAR present relevant functionality to the Delphix Masking Engine. When a plugin is loaded, the file com.delphix.masking.api.plugin.DriverSupport under META-INF/services in the JAR is consulted for a list of classes that implement the DriverSupport interface.
Note
When the maskScript generate sub-command is used to create a new driver support class, the service discovery metadata file is automatically updated.
If a driver support class is missing from the services file, it will not be usable when the plugin is loaded. It is essentially invisible to the extensibility framework. If a class is mentioned in this file but not present in the JAR, the plugin will fail to load.