use of org.killbill.billing.payment.provider.DefaultPaymentProviderPluginRegistry in project killbill by killbill.
the class DefaultPaymentProviderPluginRegistryProvider method get.
@Override
public OSGIServiceRegistration<PaymentPluginApi> get() {
final DefaultPaymentProviderPluginRegistry pluginRegistry = new DefaultPaymentProviderPluginRegistry(paymentConfig);
// Make the external payment provider plugin available by default
final OSGIServiceDescriptor desc = new OSGIServiceDescriptor() {
@Override
public String getPluginSymbolicName() {
return null;
}
@Override
public String getPluginName() {
return ExternalPaymentProviderPlugin.PLUGIN_NAME;
}
@Override
public String getRegistrationName() {
return ExternalPaymentProviderPlugin.PLUGIN_NAME;
}
};
pluginRegistry.registerService(desc, externalPaymentProviderPlugin);
return pluginRegistry;
}
Aggregations