Top Description Fields Constructors Methods
org.hibernate.boot.archive.scan.spi

public Class ClassFileArchiveEntryHandler

extends Object
implements ArchiveEntryHandler
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.archive.spi.ArchiveEntryHandler
Imports
java.io.IOException, .InputStream, javax.persistence.Converter, .Embeddable, .Entity, .MappedSuperclass, org.hibernate.boot.archive.scan.internal.ClassDescriptorImpl, .ScanResultCollector, org.hibernate.boot.archive.spi.ArchiveContext, .ArchiveEntry, .ArchiveEntryHandler, .ArchiveException, org.jboss.jandex.ClassInfo, .DotName, .Index, .Indexer

Defines handling and filtering for class file entries within an archive
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private static final DotName
private static final DotName[]
private final ScanResultCollector

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
handleEntry(ArchiveEntry
The entry to handle
entry
,
ArchiveContext
The visitation context
context
)

Implements org.hibernate.boot.archive.spi.ArchiveEntryHandler.handleEntry.

Handle the entry
private boolean
private boolean
isModel(Index index)

private ClassDescriptor
private ClassDescriptor
toClassDescriptor(ClassInfo classInfo, Index index, ArchiveEntry entry)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CONVERTERback to summary
private static final DotName CONVERTER
MODELSback to summary
private static final DotName[] MODELS
resultCollectorback to summary
private final ScanResultCollector resultCollector

Constructor Detail

ClassFileArchiveEntryHandlerback to summary
public ClassFileArchiveEntryHandler(ScanResultCollector resultCollector)

Method Detail

handleEntryback to summary
public void handleEntry(ArchiveEntry entry, ArchiveContext context)

Implements org.hibernate.boot.archive.spi.ArchiveEntryHandler.handleEntry.

Doc from org.hibernate.boot.archive.spi.ArchiveEntryHandler.handleEntry.

Handle the entry

Parameters
entry:ArchiveEntry

The entry to handle

context:ArchiveContext

The visitation context

Annotations
@Override
isConverterback to summary
private boolean isConverter(Index index)
isModelback to summary
private boolean isModel(Index index)
toClassDescriptorback to summary
private ClassDescriptor toClassDescriptor(ArchiveEntry entry)
toClassDescriptorback to summary
private ClassDescriptor toClassDescriptor(ClassInfo classInfo, Index index, ArchiveEntry entry)