public class PersistenceActivator extends org.apache.geronimo.osgi.locator.Activator implements org.osgi.framework.BundleActivator, PersistenceProviderResolver
| Modifier and Type | Field and Description |
|---|---|
static String |
PERSISTENCE_PROVIDER |
| Constructor and Description |
|---|
PersistenceActivator() |
| Modifier and Type | Method and Description |
|---|---|
protected PersistenceProvider |
addProvider(org.osgi.framework.ServiceReference ref) |
void |
clearCachedProviders() |
List<PersistenceProvider> |
getPersistenceProviders() |
protected void |
removeProvider(org.osgi.framework.ServiceReference ref) |
void |
start(org.osgi.framework.BundleContext arg0) |
void |
stop(org.osgi.framework.BundleContext arg0) |
public static final String PERSISTENCE_PROVIDER
public void start(org.osgi.framework.BundleContext arg0)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.apache.geronimo.osgi.locator.ActivatorExceptionpublic void stop(org.osgi.framework.BundleContext arg0)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.apache.geronimo.osgi.locator.ActivatorExceptionpublic void clearCachedProviders()
clearCachedProviders in interface PersistenceProviderResolverpublic List<PersistenceProvider> getPersistenceProviders()
getPersistenceProviders in interface PersistenceProviderResolverprotected PersistenceProvider addProvider(org.osgi.framework.ServiceReference ref)
protected void removeProvider(org.osgi.framework.ServiceReference ref)
Copyright © 2016. All rights reserved.