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

public Interface MappingFileDescriptor

Known Direct Implementers
org.hibernate.boot.archive.scan.internal.MappingFileDescriptorImpl
Imports
org.hibernate.boot.archive.spi.InputStreamAccess

Descriptor for a mapping (XML) file.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The mapping file resource name.
getName
()

The mapping file name.

public InputStreamAccess

Returns:

Access to the InputStream for the mapping file.
getStreamAccess
()

Retrieves access to the InputStream for the mapping file.

Method Detail

getNameback to summary
public String getName()

The mapping file name. This is its name within the archive, the expectation being that most times this will equate to a "classpath lookup resource name".

Returns:String

The mapping file resource name.

getStreamAccessback to summary
public InputStreamAccess getStreamAccess()

Retrieves access to the InputStream for the mapping file.

Returns:InputStreamAccess

Access to the InputStream for the mapping file.