|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.internal.jpa.deployment.ArchiveBase
org.eclipse.persistence.internal.jpa.deployment.URLArchive
org.eclipse.persistence.jpa.rs.util.InMemoryArchive
public class InMemoryArchive
This archive is designed for use with dynamic persistence units it is built with a stream that allows it to read a persistence.xml file and creates a fake base URL based the classpath location of the InMemoryArchiveClass
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.internal.jpa.deployment.ArchiveBase |
|---|
descriptorLocation, rootURL |
| Constructor Summary | |
|---|---|
InMemoryArchive(java.io.InputStream stream)
|
|
| Method Summary | |
|---|---|
void |
close()
Close this archive and associated InputStream. |
java.io.InputStream |
getDescriptorStream()
|
| Methods inherited from class org.eclipse.persistence.internal.jpa.deployment.URLArchive |
|---|
getEntries, getEntry, getEntryAsURL |
| Methods inherited from class org.eclipse.persistence.internal.jpa.deployment.ArchiveBase |
|---|
getDescriptorLocation, getRootURL, setDescriptorLocation, setRootURL, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.persistence.jpa.Archive |
|---|
getRootURL |
| Constructor Detail |
|---|
public InMemoryArchive(java.io.InputStream stream)
| Method Detail |
|---|
public java.io.InputStream getDescriptorStream()
throws java.io.IOException
getDescriptorStream in interface ArchivegetDescriptorStream in class org.eclipse.persistence.internal.jpa.deployment.ArchiveBasejava.io.IOExceptionpublic void close()
Archive
close in interface Archiveclose in class org.eclipse.persistence.internal.jpa.deployment.URLArchive
|
EclipseLink 2.5.0, build 'v20130507-3faac2b' API Reference | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||