|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.persistence.osgi.Activator
public class Activator
Uses OSGi services to discover JPA persistence providers Also acts as a resolver class (called by the Persistence class when resolving providers).
| Field Summary | |
|---|---|
static java.lang.String |
PERSISTENCE_PROVIDER
|
| Constructor Summary | |
|---|---|
Activator()
|
|
| Method Summary | |
|---|---|
java.util.Collection<PersistenceProvider> |
findAllProviders()
|
void |
start(BundleContext context)
|
void |
stop(BundleContext context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PERSISTENCE_PROVIDER
| Constructor Detail |
|---|
public Activator()
| Method Detail |
|---|
public void start(BundleContext context)
throws java.lang.Exception
java.lang.Exception
public void stop(BundleContext context)
throws java.lang.Exception
java.lang.Exception
public java.util.Collection<PersistenceProvider> findAllProviders()
throws java.io.IOException
findAllProviders in interface Persistence.ProviderResolverjava.io.IOException
|
EclipseLink 1.1.0_ 1.1.0.r3634 API Reference | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||