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.BundleActivator
start
in class org.apache.geronimo.osgi.locator.Activator
Exception
public void stop(org.osgi.framework.BundleContext arg0) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.apache.geronimo.osgi.locator.Activator
Exception
public void clearCachedProviders()
clearCachedProviders
in interface PersistenceProviderResolver
public List<PersistenceProvider> getPersistenceProviders()
getPersistenceProviders
in interface PersistenceProviderResolver
protected PersistenceProvider addProvider(org.osgi.framework.ServiceReference ref)
protected void removeProvider(org.osgi.framework.ServiceReference ref)
Copyright © 2013. All Rights Reserved.