• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java ArchiveBase类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中org.jboss.shrinkwrap.impl.base.ArchiveBase的典型用法代码示例。如果您正苦于以下问题:Java ArchiveBase类的具体用法?Java ArchiveBase怎么用?Java ArchiveBase使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

ArchiveBase类属于org.jboss.shrinkwrap.impl.base包,在下文中一共展示了ArchiveBase类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: SwaggerArchiveImpl

点赞 2

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
public SwaggerArchiveImpl(ArchiveBase<?> archive) throws IOException {
    super(archive);

    if (!as(ServiceActivatorArchive.class).containsServiceActivator(SERVICE_ACTIVATOR_CLASS_NAME)) {
        as(ServiceActivatorArchive.class).addServiceActivator(SERVICE_ACTIVATOR_CLASS_NAME);
        as(JARArchive.class).addModule("org.wildfly.swarm.swagger", "deployment");
    }

    loadOrCreateConfigurationAsset();
}
 

开发者ID:wildfly-swarm,
项目名称:wildfly-swarm,
代码行数:11,
代码来源:SwaggerArchiveImpl.java

示例2: TopologyArchiveImpl

点赞 2

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
/**
 * Constructs a new instance using the underlying specified archive, which is required
 *
 * @param archive
 */
public TopologyArchiveImpl(ArchiveBase<?> archive) throws IOException {
    super(archive);

    Node regConf = as(JARArchive.class).get(REGISTRATION_CONF);
    if (regConf != null && regConf.getAsset() != null) {
        try (BufferedReader reader = new BufferedReader(new InputStreamReader(regConf.getAsset().openStream()))) {
            reader.lines().forEach(this::parseConfigLine);
        }
    }
}
 

开发者ID:wildfly-swarm,
项目名称:wildfly-swarm,
代码行数:16,
代码来源:TopologyArchiveImpl.java

示例3: SwaggerArchiveImpl

点赞 2

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
public SwaggerArchiveImpl(ArchiveBase<?> archive) {
    super(archive);

    if (!as(ServiceActivatorArchive.class).containsServiceActivator(SERVICE_ACTIVATOR_CLASS_NAME)) {
        as(ServiceActivatorArchive.class).addServiceActivator(SERVICE_ACTIVATOR_CLASS_NAME);
        as(JARArchive.class).addModule("org.wildfly.swarm.swagger", "runtime");
    }

    loadOrCreateConfigurationAsset();
}
 

开发者ID:wildfly-swarm-archive,
项目名称:ARCHIVE-wildfly-swarm,
代码行数:11,
代码来源:SwaggerArchiveImpl.java

示例4: ServiceActivatorArchiveImpl

点赞 2

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
/**
 * Constructs a new instance using the underlying specified archive, which is required
 */
public ServiceActivatorArchiveImpl(ArchiveBase<?> archive) {
    super(archive);
    prepareAsset();
}
 

开发者ID:wildfly-swarm,
项目名称:wildfly-swarm,
代码行数:8,
代码来源:ServiceActivatorArchiveImpl.java

示例5: TopologyArchiveImpl

点赞 1

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
/**
 * Constructs a new instance using the underlying specified archive, which is required
 *
 * @param archive
 */
public TopologyArchiveImpl(ArchiveBase<?> archive) {
    super(archive);
}
 

开发者ID:wildfly-swarm-archive,
项目名称:wildfly-swarm-topology,
代码行数:9,
代码来源:TopologyArchiveImpl.java

示例6: RibbonArchiveImpl

点赞 1

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
/**
 * Constructs a new instance using the underlying specified archive, which is required
 *
 * @param archive
 */
public RibbonArchiveImpl(ArchiveBase<?> archive) throws IOException {
    super(archive);
}
 

开发者ID:wildfly-swarm,
项目名称:wildfly-swarm,
代码行数:9,
代码来源:RibbonArchiveImpl.java

示例7: DatasourceArchiveImpl

点赞 1

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
/**
 * Constructs a new instance using the underlying specified archive, which is required
 *
 * @param archive
 */
public DatasourceArchiveImpl(ArchiveBase<?> archive) {
    super(archive);
}
 

开发者ID:wildfly-swarm-archive,
项目名称:ARCHIVE-wildfly-swarm,
代码行数:9,
代码来源:DatasourceArchiveImpl.java

示例8: RibbonArchiveImpl

点赞 1

import org.jboss.shrinkwrap.impl.base.ArchiveBase; //导入依赖的package包/类
/**
 * Constructs a new instance using the underlying specified archive, which is required
 *
 * @param archive
 */
public RibbonArchiveImpl(ArchiveBase<?> archive) {
    super(archive);
}
 

开发者ID:wildfly-swarm-archive,
项目名称:ARCHIVE-wildfly-swarm,
代码行数:9,
代码来源:RibbonArchiveImpl.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)