本文整理了Java中org.glassfish.internal.deployment.Deployment.getArchiveHandler()
方法的一些代码示例,展示了Deployment.getArchiveHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Deployment.getArchiveHandler()
方法的具体详情如下:
包路径:org.glassfish.internal.deployment.Deployment
类名称:Deployment
方法名:getArchiveHandler
暂无
代码示例来源:origin: org.glassfish.main.core/kernel
ArchiveHandler archiveHandler = null;
try {
archiveHandler = deployment.getArchiveHandler(archive);
} catch (IOException e) {
throw new RuntimeException(e);
代码示例来源:origin: org.glassfish.main.deployment/deployment-javaee-core
try {
String archiveName = Util.getURIName(archive.getURI());
ArchiveHandler archiveHandler = deployment.getArchiveHandler(archive);
if (archiveHandler==null) {
throw new IllegalArgumentException(localStrings.getLocalString("deploy.unknownarchivetype","Archive type of {0} was not recognized", archiveName));
代码示例来源:origin: org.glassfish.main.core/kernel
ArchiveHandler handler = deployment.getArchiveHandler(sourceArchive);
final String appName = handler.getDefaultApplicationName(sourceArchive);
DeploymentContextImpl dummyContext = new DeploymentContextImpl(report, logger, sourceArchive, parameters, env);
代码示例来源:origin: org.glassfish.main.deployment/deployment-javaee-full
subHandler = deployment.getArchiveHandler(subArchive);
代码示例来源:origin: org.glassfish.main.deployment/deployment-javaee-full
handler = getArchiveHandlerFromModuleType(md.getModuleType());
if (handler == null) {
handler = deployment.getArchiveHandler(sub);
代码示例来源:origin: org.glassfish.deployment/deployment-admin
ArchiveHandler archiveHandler = deployment.getArchiveHandler(archive, type);
if (archiveHandler==null) {
report.failure(logger,localStrings.getLocalString("deploy.unknownarchivetype","Archive type of {0} was not recognized",path.getName()));
代码示例来源:origin: fujitsu/launcher
archiveHandler = deployment.getArchiveHandler(archive, type);
if (tracing!=null) {
tracing.addMark(DeploymentTracing.Mark.ARCHIVE_HANDLER_OBTAINED);
代码示例来源:origin: org.glassfish.deployment/deployment-admin
ArchiveHandler archiveHandler = deployment.getArchiveHandler(archive, type);
if (tracing!=null) {
tracing.addMark(DeploymentTracing.Mark.ARCHIVE_HANDLER_OBTAINED);
内容来源于网络,如有侵权,请联系作者删除!