org.netbeans.modules.j2ee.persistenceapi/1 1.0.20

org.netbeans.modules.j2ee.persistence.spi
Interface PersistenceScopeImplementation


public interface PersistenceScopeImplementation

The SPI for PersistenceScope.

See Also:
PersistenceScope, PersistenceScopeFactory

Method Summary
 org.netbeans.api.java.classpath.ClassPath getClassPath()
          Provides the classpath of this persistence scope, which covers the sources of the entity classes referenced by the persistence.xml file, as well as the referenced JAR files.
 org.openide.filesystems.FileObject getPersistenceXml()
          Returns the persistence.xml file of this persistence scope.
 

Method Detail

getPersistenceXml

org.openide.filesystems.FileObject getPersistenceXml()
Returns the persistence.xml file of this persistence scope.

Returns:
the persistence.xml file or null if it the persistence.xml file does not exist.

getClassPath

org.netbeans.api.java.classpath.ClassPath getClassPath()
Provides the classpath of this persistence scope, which covers the sources of the entity classes referenced by the persistence.xml file, as well as the referenced JAR files.

Returns:
the persistence scope classpath; never null.

org.netbeans.modules.j2ee.persistenceapi/1 1.0.20

Built on August 9 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.