|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.aries.jpa.container.impl.PersistenceBundleHelper
public class PersistenceBundleHelper
This helper can be used to locate persistence.xml files in a bundle
Field Summary | |
---|---|
static String |
PERSISTENCE_UNIT_HEADER
The Meta-Persistence header |
static String |
PERSISTENCE_XML
The persistence xml location |
static String |
WEB_CONTEXT_PATH_HEADER
The Web-ContextPath header (as defined in the web application bundle spec) |
Constructor Summary | |
---|---|
PersistenceBundleHelper()
|
Method Summary | |
---|---|
static Collection<PersistenceDescriptor> |
findPersistenceXmlFiles(org.osgi.framework.Bundle bundle)
This method locates persistence descriptor files based on a combination of the default location "META-INF/persistence.xml" and the Meta-Persistence header. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PERSISTENCE_XML
public static final String PERSISTENCE_UNIT_HEADER
public static final String WEB_CONTEXT_PATH_HEADER
Constructor Detail |
---|
public PersistenceBundleHelper()
Method Detail |
---|
public static Collection<PersistenceDescriptor> findPersistenceXmlFiles(org.osgi.framework.Bundle bundle)
bundle
- The bundle to search
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |