public final class MailProviderProxyGenerator
extends java.lang.Object
MailProviderProxyGenerator
- Generates proxy objects for mail provider which delegate method invocations to the service obtained
from a bundle contextModifier and Type | Method and Description |
---|---|
static MailProvider |
newMailProviderProxy(org.osgi.framework.ServiceReference mailProviderServiceReference,
org.osgi.framework.BundleContext context)
TODO: Does not work since
MailProvider is not an interface
Create a new proxy object for mail provider which delegates method invocations to the service obtained from bundle context |
public static MailProvider newMailProviderProxy(org.osgi.framework.ServiceReference mailProviderServiceReference, org.osgi.framework.BundleContext context)
MailProvider
is not an interface
Create a new proxy object for mail provider which delegates method invocations to the service obtained from bundle context
mailProviderServiceReference
- The service reference of a mail providercontext
- The bundle context (needed to get/unget the service)