public class StandardJpaScanEnvironmentImpl extends Object implements ScanEnvironment
Constructor and Description |
---|
StandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getExplicitlyListedClassNames()
Returns any classes which are explicitly listed as part of the
"persistence unit".
|
List<String> |
getExplicitlyListedMappingFiles()
Returns the mapping files which are explicitly listed as part of the
"persistence unit".
|
List<URL> |
getNonRootUrls()
Returns any non-root URLs for scanning.
|
URL |
getRootUrl()
Returns the root URL for scanning.
|
public StandardJpaScanEnvironmentImpl(PersistenceUnitDescriptor persistenceUnitDescriptor)
public URL getRootUrl()
ScanEnvironment
null
, indicating that
no root URL scanning should be done (aka, if maybe a root URL is not known).getRootUrl
in interface ScanEnvironment
ScanOptions.canDetectUnlistedClassesInRoot()
public List<URL> getNonRootUrls()
ScanEnvironment
getNonRootUrls
in interface ScanEnvironment
ScanOptions.canDetectUnlistedClassesInNonRoot()
public List<String> getExplicitlyListedClassNames()
ScanEnvironment
getExplicitlyListedClassNames
in interface ScanEnvironment
public List<String> getExplicitlyListedMappingFiles()
ScanEnvironment
getExplicitlyListedMappingFiles
in interface ScanEnvironment
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.