接口 ArchiveContext
-
public interface ArchiveContextDescribes the context for visiting the entries within an archive- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 booleanisRootUrl()Is the archive described (and being visited) the root url for the persistence-unit?ArchiveEntryHandlerobtainArchiveEntryHandler(ArchiveEntry entry)Get the handler for the given entry, which generally is indicated by the entry type (a.classfile, a mapping file, etc).
-
-
-
方法详细资料
-
isRootUrl
boolean isRootUrl()
Is the archive described (and being visited) the root url for the persistence-unit?- 返回:
trueif it is the root url
-
obtainArchiveEntryHandler
ArchiveEntryHandler obtainArchiveEntryHandler(ArchiveEntry entry)
Get the handler for the given entry, which generally is indicated by the entry type (a.classfile, a mapping file, etc).- 参数:
entry- The archive entry- 返回:
- The appropriate handler for the entry
-
-