Top Description Fields Constructors Methods
org.hibernate.jpa.boot.internal

public Class StandardJpaScanEnvironmentImpl

extends Object
implements ScanEnvironment
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.archive.scan.spi.ScanEnvironment
Imports
java.net.URL, java.util.Collections, .List, org.hibernate.jpa.boot.spi.PersistenceUnitDescriptor, org.hibernate.boot.archive.scan.spi.ScanEnvironment

Implementation of ScanEnvironment leveraging a JPA deployment descriptor.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final List<String>
private final List<String>
private final PersistenceUnitDescriptor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<String>
getExplicitlyListedClassNames()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getExplicitlyListedClassNames.

Returns any classes which are explicitly listed as part of the "persistence unit".
public List<String>
getExplicitlyListedMappingFiles()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getExplicitlyListedMappingFiles.

Returns the mapping files which are explicitly listed as part of the "persistence unit".
public List<URL>
getNonRootUrls()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getNonRootUrls.

Returns any non-root URLs for scanning.
public URL
getRootUrl()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getRootUrl.

Returns the root URL for scanning.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

explicitlyListedClassNamesback to summary
private final List<String> explicitlyListedClassNames
explicitlyListedMappingFilesback to summary
private final List<String> explicitlyListedMappingFiles
persistenceUnitDescriptorback to summary
private final PersistenceUnitDescriptor persistenceUnitDescriptor

Constructor Detail

StandardJpaScanEnvironmentImplback to summary
public StandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor)

Method Detail

getExplicitlyListedClassNamesback to summary
public List<String> getExplicitlyListedClassNames()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getExplicitlyListedClassNames.

Doc from org.hibernate.boot.archive.scan.spi.ScanEnvironment.getExplicitlyListedClassNames.

Returns any classes which are explicitly listed as part of the "persistence unit".

Returns:List<String>

The explicitly listed classes

Annotations
@Override
getExplicitlyListedMappingFilesback to summary
public List<String> getExplicitlyListedMappingFiles()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getExplicitlyListedMappingFiles.

Doc from org.hibernate.boot.archive.scan.spi.ScanEnvironment.getExplicitlyListedMappingFiles.

Returns the mapping files which are explicitly listed as part of the "persistence unit".

Returns:List<String>

The explicitly listed mapping files.

Annotations
@Override
getNonRootUrlsback to summary
public List<URL> getNonRootUrls()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getNonRootUrls.

Doc from org.hibernate.boot.archive.scan.spi.ScanEnvironment.getNonRootUrls.

Returns any non-root URLs for scanning. Can be null/empty to indicate that no non-root URL scanning should be done.

Returns:List<URL>

The non-root URLs

Annotations
@Override
getRootUrlback to summary
public URL getRootUrl()

Implements org.hibernate.boot.archive.scan.spi.ScanEnvironment.getRootUrl.

Doc from org.hibernate.boot.archive.scan.spi.ScanEnvironment.getRootUrl.

Returns the root URL for scanning. Can be null, indicating that no root URL scanning should be done (aka, if maybe a root URL is not known).

Returns:URL

The root URL

Annotations
@Override