Class MappingFileDescriptorImpl
- java.lang.Object
-
- org.hibernate.boot.archive.scan.internal.MappingFileDescriptorImpl
-
- All Implemented Interfaces:
Serializable
,MappingFileDescriptor
public class MappingFileDescriptorImpl extends Object implements MappingFileDescriptor, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MappingFileDescriptorImpl(String name, InputStreamAccess streamAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
The mapping file name.InputStreamAccess
getStreamAccess()
Retrieves access to the InputStream for the mapping file.
-
-
-
Constructor Detail
-
MappingFileDescriptorImpl
public MappingFileDescriptorImpl(String name, InputStreamAccess streamAccess)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:MappingFileDescriptor
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".- Specified by:
getName
in interfaceMappingFileDescriptor
- Returns:
- The mapping file resource name.
-
getStreamAccess
public InputStreamAccess getStreamAccess()
Description copied from interface:MappingFileDescriptor
Retrieves access to the InputStream for the mapping file.- Specified by:
getStreamAccess
in interfaceMappingFileDescriptor
- Returns:
- Access to the InputStream for the mapping file.
-
-