Adapting Plugin APIs

Managed package code can be written to allow subscribers to plug in their own implementation of a global interface. Typically this is done with the managed package providing a custom setting that allows the subscriber to specify a concrete implementation of an interface. The managed package code then creates an instance using the Type.forName method. Once a […]