public abstract class ResourceActivator<R extends AutoCloseable,F extends TrackingResourceProviderFactory<R>> extends Object implements org.osgi.framework.BundleActivator
| Constructor and Description |
|---|
ResourceActivator() |
| Modifier and Type | Method and Description |
|---|---|
protected Class<? super F> |
getAdvertisedInterface() |
protected ConfigurationDefinedResourceFactory |
getConfigurationDefinedResourceFactory(org.osgi.framework.BundleContext context) |
protected String |
getMSFPid() |
protected Dictionary<String,?> |
getMSFProperties() |
protected ResourceProviderFactoryServiceFactory<R,F> |
getServiceFactory(org.osgi.framework.BundleContext context) |
protected Dictionary<String,Object> |
getServiceProperties() |
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
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.BundleActivatorExceptionprotected Dictionary<String,?> getMSFProperties()
protected ResourceProviderFactoryServiceFactory<R,F> getServiceFactory(org.osgi.framework.BundleContext context)
protected Dictionary<String,Object> getServiceProperties()
protected ConfigurationDefinedResourceFactory getConfigurationDefinedResourceFactory(org.osgi.framework.BundleContext context)
protected String getMSFPid()
Copyright © 2017 The Apache Software Foundation. All rights reserved.