|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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.ProviderResolver
java.io.IOException
|
EclipseLink 1.1.4, build 'v20100812-r7860' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |