org.jboss.arquillian.container.test.spi.client.protocol.Protocol Java Examples

The following examples show how to use org.jboss.arquillian.container.test.spi.client.protocol.Protocol. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: QuarkusExtension.java    From quarkus with Apache License 2.0 5 votes vote down vote up
@Override
public void register(ExtensionBuilder builder) {
    builder.service(DeployableContainer.class, QuarkusDeployableContainer.class);
    builder.service(Protocol.class, QuarkusProtocol.class);
    builder.service(TestEnricher.class, InjectionEnricher.class);
    builder.service(TestEnricher.class, ArquillianResourceURLEnricher.class);
    builder.observer(CreationalContextDestroyer.class);
    builder.observer(QuarkusBeforeAfterLifecycle.class);
    builder.observer(RequestContextLifecycle.class);
    builder.observer(ClassLoaderExceptionTransformer.class);
}
 
Example #2
Source File: WildFlySwarmExtension.java    From thorntail with Apache License 2.0 5 votes vote down vote up
@Override
public void register(ExtensionBuilder builder) {
    builder.service(Protocol.class, DaemonProtocol.class)
            .service(AuxiliaryArchiveAppender.class, WildFlySwarmDeploymentAppender.class)
            .service(DeployableContainer.class, WildFlySwarmContainer.class)
            .override(DeploymentScenarioGenerator.class, AnnotationDeploymentScenarioGenerator.class, DefaultDeploymentScenarioGenerator.class)
            .override(ResourceProvider.class, URLResourceProvider.class, SwarmURLResourceProvider.class)
            .override(ResourceProvider.class, URIResourceProvider.class, SwarmURIResourceProvider.class)
            .observer(WildFlySwarmObserver.class);
}
 
Example #3
Source File: WildFlySwarmExtension.java    From ARCHIVE-wildfly-swarm with Apache License 2.0 5 votes vote down vote up
@Override
public void register(ExtensionBuilder builder) {
    builder.service(Protocol.class, DaemonProtocol.class)
            .service(AuxiliaryArchiveAppender.class, WildFlySwarmDeploymentAppender.class)
            .service(DeployableContainer.class, WildFlySwarmContainer.class)
            .override(ResourceProvider.class, URLResourceProvider.class, SwarmURLResourceProvider.class)
            .override(ResourceProvider.class, URIResourceProvider.class, SwarmURIResourceProvider.class)
            .observer(WildFlySwarmObserver.class);
}
 
Example #4
Source File: FurnaceLoadableExtension.java    From furnace with Eclipse Public License 1.0 5 votes vote down vote up
@Override
public void register(ExtensionBuilder builder)
{
   builder.service(DeployableContainer.class, FurnaceDeployableContainer.class);
   builder.service(DeploymentScenarioGenerator.class, FurnaceDeploymentScenarioGenerator.class);
   builder.service(Protocol.class, FurnaceProtocol.class);
   builder.service(AuxiliaryArchiveProcessor.class, FurnaceAuxiliaryArchiveProcessor.class);
}
 
Example #5
Source File: MicroProfileMetricsTCKExtension.java    From tomee with Apache License 2.0 5 votes vote down vote up
@Override
public void register(final ExtensionBuilder extensionBuilder) {
    extensionBuilder
            .override(Protocol.class, ServletProtocol.class, MicroProfileMetricsTCKProtocol.class)
            .observer(MicroProfileMetricsTCKObserver.class)
    ;
}
 
Example #6
Source File: MicroProfileOpenAPITCKExtension.java    From tomee with Apache License 2.0 5 votes vote down vote up
@Override
public void register(final ExtensionBuilder extensionBuilder) {
    extensionBuilder
            .override(Protocol.class, ServletProtocol.class, MicroProfileOpenAPITCKProtocol.class)
            .observer(MicroProfileOpenAPITCKObserver.class)
    ;
}
 
Example #7
Source File: KeycloakContainerTestExtension.java    From keycloak with Apache License 2.0 5 votes vote down vote up
private void registerOriginal(ExtensionBuilder builder) {
        // Start -> Copied from TestExtension
        builder.context(SuiteContextImpl.class)
            .context(ClassContextImpl.class)
            .context(TestContextImpl.class);

        builder.observer(TestContextHandler.class)
            .observer(ClientTestInstanceEnricher.class);

        // End -> Copied from TestExtension

        builder.service(AuxiliaryArchiveAppender.class, ArquillianDeploymentAppender.class)
            .service(TestEnricher.class, ArquillianResourceTestEnricher.class)
            .service(Protocol.class, LocalProtocol.class)
            .service(CommandService.class, LocalCommandService.class)
            .service(ResourceProvider.class, URLResourceProvider.class)
            .service(ResourceProvider.class, URIResourceProvider.class)
            .service(ResourceProvider.class, DeployerProvider.class)
            .service(ResourceProvider.class, InitialContextProvider.class)
            .service(ResourceProvider.class, ContainerControllerProvider.class);

//        ContainerEventController is overriden
//        builder.observer(ContainerEventController.class)
          builder.observer(ContainerRestarter.class)
            .observer(DeploymentGenerator.class)
            .observer(ArchiveDeploymentToolingExporter.class)
            .observer(ProtocolRegistryCreator.class)
            .observer(ClientContainerControllerCreator.class)
            .observer(ClientDeployerCreator.class)
            .observer(ClientBeforeAfterLifecycleEventExecuter.class)
            .observer(ClientTestExecuter.class)
//            .observer(LocalTestExecuter.class)
            .observer(ModelTestExecutor.class)
            .observer(RemoteTestExecuter.class)
            .observer(DeploymentCommandObserver.class)
            .observer(ContainerCommandObserver.class)
            .observer(RemoteResourceCommandObserver.class)
            .observer(KeycloakContainerFeaturesController.class);
    }
 
Example #8
Source File: ManagedSEContainerExtension.java    From camel-spring-boot with Apache License 2.0 4 votes vote down vote up
@Override
public void register(final ExtensionBuilder builder) {
    builder.service(DeployableContainer.class, ManagedSEDeployableContainer.class);
    builder.service(Protocol.class, CustomJMXProtocol.class);
    builder.service(AuxiliaryArchiveAppender.class, SEContainerAppender.class);
}
 
Example #9
Source File: MicroProfileOpenTracingTCKExtension.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public void register(final ExtensionBuilder extensionBuilder) {
    extensionBuilder
            .override(Protocol.class, ServletProtocol.class, MicroProfileOpenTracingTCKProtocol.class)
    ;
}
 
Example #10
Source File: DaemonContainerExtensionBase.java    From thorntail with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @see org.jboss.arquillian.core.spi.LoadableExtension#register(org.jboss.arquillian.core.spi.LoadableExtension.ExtensionBuilder)
 */
@Override
public void register(final ExtensionBuilder builder) {
    builder.service(Protocol.class, DaemonProtocol.class);
}
 
Example #11
Source File: DaemonContainerExtensionBase.java    From ARCHIVE-wildfly-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @see org.jboss.arquillian.core.spi.LoadableExtension#register(org.jboss.arquillian.core.spi.LoadableExtension.ExtensionBuilder)
 */
@Override
public void register(final ExtensionBuilder builder) {
    builder.service(Protocol.class, DaemonProtocol.class);
}