當前位置: 首頁>>代碼示例>>Java>>正文


Java LoadableExtension類代碼示例

本文整理匯總了Java中org.jboss.arquillian.core.spi.LoadableExtension的典型用法代碼示例。如果您正苦於以下問題:Java LoadableExtension類的具體用法?Java LoadableExtension怎麽用?Java LoadableExtension使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


LoadableExtension類屬於org.jboss.arquillian.core.spi包,在下文中一共展示了LoadableExtension類的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: register

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
@Override
public void register(LoadableExtension.ExtensionBuilder builder) {

    builder.service(NamespaceService.class, DefaultNamespaceService.class)
        .override(LabelProvider.class, DefaultLabelProvider.class, Fabric8LabelProvider.class)
        .override(AnnotationProvider.class, DefaultAnnotationProvider.class, Fabric8AnnotationProvider.class)
        .override(Visitor.class, ServiceAccountVisitor.class, SecretsAndServiceAccountVisitor.class);
}
 
開發者ID:arquillian,項目名稱:arquillian-cube,代碼行數:9,代碼來源:Fabric8Extension.java

示例2: register

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
@Override
public void register(ExtensionBuilder builder) {

    builder.observer(AlgeronProviderConfigurator.class);

    if (LoadableExtension.Validate.classExists(
        "org.jboss.arquillian.container.test.spi.client.deployment.AuxiliaryArchiveAppender")) {
        builder.observer(DeploymentEnabler.class);
        builder.override(ResourceProvider.class, URLResourceProvider.class, EnvironmentUrlResourceProvider.class);
    }
}
 
開發者ID:arquillian,項目名稱:arquillian-algeron,代碼行數:12,代碼來源:AlgeronProviderExtension.java

示例3: createAuxiliaryArchive

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
@Override
public Archive<?> createAuxiliaryArchive() {
    JavaArchive javaArchive = ShrinkWrap.create(JavaArchive.class, "arquillian-cube.jar")
        .addPackage(CubeController.class.getPackage())
        .addPackages(true, CubeRemoteExtension.class.getPackage())
        .addClasses(CubeControllerProvider.class, CubeControlException.class)
        .addAsServiceProvider(RemoteLoadableExtension.class, CubeRemoteExtension.class);

    if (LoadableExtension.Validate.classExists("org.arquillian.cube.requirement.ArquillianConditionalRunner")) {
        javaArchive.addPackages(true, ArquillianConditionalRunner.class.getPackage(), Requires.class.getPackage());
    }

    return javaArchive;
}
 
開發者ID:arquillian,項目名稱:arquillian-cube,代碼行數:15,代碼來源:CubeAuxiliaryArchiveAppender.java

示例4: isServletContainer

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
private static boolean isServletContainer() {
    for (String className : SERVLET_CONTAINER_CLASSES) {
        if (LoadableExtension.Validate.classExists(className)) {
            return true;
        }
    }
    return false;
}
 
開發者ID:trimou,項目名稱:trimou,代碼行數:9,代碼來源:IntegrationTestUtils.java

示例5: isSwarmUrlProviderOverriden

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
private boolean isSwarmUrlProviderOverriden() {
    return LoadableExtension.Validate.classExists(CUSTOM_SWARM_URL_PROVIDER);
}
 
開發者ID:arquillian,項目名稱:arquillian-algeron,代碼行數:4,代碼來源:EnvironmentUrlResourceProvider.java

示例6: register

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
public void register(LoadableExtension.ExtensionBuilder builder) {
    builder.service(AuxiliaryArchiveAppender.class, CategoryArchiveAppender.class);
}
 
開發者ID:astefanutti,項目名稱:camel-cdi,代碼行數:4,代碼來源:CategoryExtension.java

示例7: register

import org.jboss.arquillian.core.spi.LoadableExtension; //導入依賴的package包/類
@Override
public void register(LoadableExtension.ExtensionBuilder builder) {
    builder.observer(InContainerManagementClientProvider.class);
    builder.service(ResourceProvider.class, InContainerManagementClientProvider.class);
}
 
開發者ID:wildfly,項目名稱:wildfly-arquillian,代碼行數:6,代碼來源:InContainerManagementClientExtension.java


注:本文中的org.jboss.arquillian.core.spi.LoadableExtension類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。