public static class AbstractScannerImpl.ArchiveContextImpl extends Object implements ArchiveContext
| Constructor and Description |
|---|
AbstractScannerImpl.ArchiveContextImpl(PersistenceUnitDescriptor persistenceUnitDescriptor,
boolean isRootUrl,
AbstractScannerImpl.ArchiveEntryHandlers entryHandlers) |
| Modifier and Type | Method and Description |
|---|---|
PersistenceUnitDescriptor |
getPersistenceUnitDescriptor()
The persistence-unit descriptor which led to this archive being scanned.
|
boolean |
isRootUrl()
Is the archive described (and being visited) the root url for the persistence-unit?
|
ArchiveEntryHandler |
obtainArchiveEntryHandler(ArchiveEntry entry)
Get the handler for the given entry, which generally is indicated by the entry type (a
.class file, a
mapping file, etc). |
public AbstractScannerImpl.ArchiveContextImpl(PersistenceUnitDescriptor persistenceUnitDescriptor, boolean isRootUrl, AbstractScannerImpl.ArchiveEntryHandlers entryHandlers)
public PersistenceUnitDescriptor getPersistenceUnitDescriptor()
ArchiveContextgetPersistenceUnitDescriptor in interface ArchiveContextpublic boolean isRootUrl()
ArchiveContextisRootUrl in interface ArchiveContexttrue if it is the root urlpublic ArchiveEntryHandler obtainArchiveEntryHandler(ArchiveEntry entry)
ArchiveContext.class file, a
mapping file, etc).obtainArchiveEntryHandler in interface ArchiveContextentry - The archive entryCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.