Top Description Methods
org.hibernate.boot.archive.spi

public Interface ArchiveContext

Known Direct Implementers
org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.ArchiveContextImpl

Describes the context for visiting the entries within an archive
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if it is the root url
isRootUrl
()

Is the archive described (and being visited) the root url for the persistence-unit?

public ArchiveEntryHandler

Returns:

The appropriate handler for the entry
obtainArchiveEntryHandler
(ArchiveEntry
The archive entry
entry
)

Get the handler for the given entry, which generally is indicated by the entry type (a .class file, a mapping file, etc).

Method Detail

isRootUrlback to summary
public boolean isRootUrl()

Is the archive described (and being visited) the root url for the persistence-unit?

Returns:boolean

true if it is the root url

obtainArchiveEntryHandlerback to summary
public 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).

Parameters
entry:ArchiveEntry

The archive entry

Returns:ArchiveEntryHandler

The appropriate handler for the entry