本文整理汇总了Java中org.killbill.billing.osgi.api.OSGIPluginProperties类的典型用法代码示例。如果您正苦于以下问题:Java OSGIPluginProperties类的具体用法?Java OSGIPluginProperties怎么用?Java OSGIPluginProperties使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OSGIPluginProperties类属于org.killbill.billing.osgi.api包,在下文中一共展示了OSGIPluginProperties类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: registerInvoicePluginApi
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerInvoicePluginApi(final BundleContext context, final InvoicePluginApi api) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, InvoicePluginApi.class, api, props);
}
示例2: registerServlet
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerServlet(final BundleContext context, final HttpServlet servlet) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, Servlet.class, servlet, props);
}
示例3: registerPaymentPluginApi
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerPaymentPluginApi(final BundleContext context, final PaymentPluginApi api) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, PaymentPluginApi.class, api, props);
}
示例4: registerPaymentPluginApi
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerPaymentPluginApi(final BundleContext context, final PaymentPluginApi api) {
final Dictionary props = new Hashtable();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, PaymentPluginApi.class, api, props);
}
示例5: registerHealthcheck
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerHealthcheck(final BundleContext context, final AdyenHealthcheck healthcheck) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, Healthcheck.class, healthcheck, props);
}
示例6: registerServlet
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerServlet(final BundleContext context, final Servlet servlet) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, Servlet.class, servlet, props);
}
示例7: registerHealthcheck
import org.killbill.billing.osgi.api.OSGIPluginProperties; //导入依赖的package包/类
private void registerHealthcheck(final BundleContext context, final Healthcheck healthcheck) {
final Hashtable<String, String> props = new Hashtable<String, String>();
props.put(OSGIPluginProperties.PLUGIN_NAME_PROP, PLUGIN_NAME);
registrar.registerService(context, Healthcheck.class, healthcheck, props);
}