public final class TransportProviderProxyGenerator
extends java.lang.Object
TransportProviderProxyGenerator - Generates proxy objects for mail provider which delegate method invocations to the service
obtained from a bundle context| Modifier and Type | Method and Description |
|---|---|
static TransportProvider |
newTransportProviderProxy(org.osgi.framework.ServiceReference mailProviderServiceReference,
org.osgi.framework.BundleContext context)
TODO: Does not work since
TransportProvider 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 TransportProvider newTransportProviderProxy(org.osgi.framework.ServiceReference mailProviderServiceReference, org.osgi.framework.BundleContext context)
TransportProvider 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)