|
org.netbeans.modules.j2ee.persistenceapi/1 1.0.20 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PersistenceLocationProvider
This interface should be implemented in a context which supports Java Persistence API, whether or not is contains a persistence.xml file. It contains methods for creating/retrieving the default location for persistence.xml files. For example it can be implemented by a project and can be used by a client which wants to create a persistence scope in that project.
Method Summary | |
---|---|
org.openide.filesystems.FileObject |
createLocation()
Creates (if it does not exist) and returns the default location for persistence.xml and related files. |
org.openide.filesystems.FileObject |
getLocation()
Returns the default location for persistence.xml and related files. |
Method Detail |
---|
org.openide.filesystems.FileObject getLocation()
org.openide.filesystems.FileObject createLocation() throws IOException
IOException
- if an error occured while creating the location
of persistence.xml
|
org.netbeans.modules.j2ee.persistenceapi/1 1.0.20 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |