public class KillbillActivator extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.ServiceListener
| Constructor and Description |
|---|
KillbillActivator(DataSource dataSource,
OSGIKillbill osgiKillbill,
org.osgi.service.http.HttpService defaultHttpService,
KillbillEventObservable observable,
OSGIConfigProperties configProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCurrencyPluginApiOSGIServiceRegistration(OSGIServiceRegistration<org.killbill.billing.currency.plugin.api.CurrencyPluginApi> currencyProviderPluginRegistry) |
void |
addPaymentPluginApiOSGIServiceRegistration(OSGIServiceRegistration<org.killbill.billing.payment.plugin.api.PaymentPluginApi> paymentProviderPluginRegistry) |
void |
addServletOSGIServiceRegistration(OSGIServiceRegistration<javax.servlet.Servlet> servletRouter) |
void |
serviceChanged(org.osgi.framework.ServiceEvent event) |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
@Inject
public KillbillActivator(@Named(value="osgi")
DataSource dataSource,
OSGIKillbill osgiKillbill,
org.osgi.service.http.HttpService defaultHttpService,
KillbillEventObservable observable,
OSGIConfigProperties configProperties)
@Inject(optional=true) public void addServletOSGIServiceRegistration(OSGIServiceRegistration<javax.servlet.Servlet> servletRouter)
@Inject(optional=true) public void addPaymentPluginApiOSGIServiceRegistration(OSGIServiceRegistration<org.killbill.billing.payment.plugin.api.PaymentPluginApi> paymentProviderPluginRegistry)
@Inject(optional=true) public void addCurrencyPluginApiOSGIServiceRegistration(OSGIServiceRegistration<org.killbill.billing.currency.plugin.api.CurrencyPluginApi> currencyProviderPluginRegistry)
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorExceptionpublic void serviceChanged(org.osgi.framework.ServiceEvent event)
serviceChanged in interface org.osgi.framework.ServiceListenerCopyright © 2010-2014. All Rights Reserved.