org.jboss.arquillian.container.spi.client.protocol.ProtocolDescription Java Examples

The following examples show how to use org.jboss.arquillian.container.spi.client.protocol.ProtocolDescription. 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: TomEEContainer.java    From tomee with Apache License 2.0 5 votes vote down vote up
@Override
public void setup(final Configuration configuration) {
    this.configuration = configuration;
    this.defaultProtocol = new ProtocolDescription(configuration.getArquillianProtocol());

    handlePrefix();

    ArquillianUtil.preLoadClassesAsynchronously(configuration.getPreloadClasses());
}
 
Example #2
Source File: FurnaceDeploymentScenarioGenerator.java    From furnace with Eclipse Public License 1.0 5 votes vote down vote up
private ProtocolDescription generateProtocol(Method deploymentMethod)
{
   if (deploymentMethod.isAnnotationPresent(OverProtocol.class))
   {
      return new ProtocolDescription(deploymentMethod.getAnnotation(OverProtocol.class).value());
   }
   return new FurnaceProtocolDescription();
}
 
Example #3
Source File: FurnaceProtocol.java    From furnace with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public ProtocolDescription getDescription()
{
   return new FurnaceProtocolDescription();
}
 
Example #4
Source File: JettyAppServer.java    From keycloak with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Servlet 3.1");
}
 
Example #5
Source File: UndertowAppServer.java    From keycloak with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Servlet 3.1");
}
 
Example #6
Source File: SimpleUndertowLoadBalancerContainer.java    From keycloak with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Servlet 3.1");
}
 
Example #7
Source File: KeycloakOnUndertow.java    From keycloak with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Servlet 3.1");
}
 
Example #8
Source File: KeycloakQuarkusServerDeployableContainer.java    From keycloak with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return null;
}
 
Example #9
Source File: OpenEJBDeployableContainer.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Local");
}
 
Example #10
Source File: TomEEContainer.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return defaultProtocol;
}
 
Example #11
Source File: MicroProfileMetricsTCKDeploymentPackager.java    From tomee with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getProtocolDescription() {
    return testDeployment.getProtocolDescription();
}
 
Example #12
Source File: UserLogin.java    From appengine-tck with Apache License 2.0 4 votes vote down vote up
protected URI getBaseURI(Method method) throws Exception {
    ProtocolDefinition definition = registry.get().getProtocol(ProtocolDescription.DEFAULT);
    ModulesProtocolConfiguration configuration = (ModulesProtocolConfiguration) definition.createProtocolConfiguration();
    HTTPContext context = ModulesApi.findHTTPContext(configuration, protocolMetaData, method);
    return context.getServlets().get(0).getBaseURI();
}
 
Example #13
Source File: FurnaceDeployableContainer.java    From furnace with Eclipse Public License 1.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol()
{
   return new FurnaceProtocolDescription();
}
 
Example #14
Source File: ManagedSEDeployableContainer.java    From camel-spring-boot with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription(CustomJMXProtocol.NAME);
}
 
Example #15
Source File: TargetController.java    From arquillian-container-chameleon with Apache License 2.0 4 votes vote down vote up
public ProtocolDescription getDefaultProtocol() {
    return this.adapter.overrideDefaultProtocol() ?
        new ProtocolDescription(adapter.getDefaultProtocol()) : delegate.getDefaultProtocol();
}
 
Example #16
Source File: ChameleonContainer.java    From arquillian-container-chameleon with Apache License 2.0 4 votes vote down vote up
public ProtocolDescription getDefaultProtocol() {
    return target.getDefaultProtocol();
}
 
Example #17
Source File: MeecrowaveContainer.java    From openwebbeans-meecrowave with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return defaultProtocol;
}
 
Example #18
Source File: MeecrowaveContainer.java    From openwebbeans-meecrowave with Apache License 2.0 4 votes vote down vote up
@Override
public void setup(final MeecrowaveConfiguration configuration) {
    this.configuration = configuration.toMeecrowaveConfiguration();
    this.defaultProtocol = new ProtocolDescription(configuration.getArquillianProtocol());
}
 
Example #19
Source File: PiranhaServerLoadableExtension.java    From piranha with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Servlet 3.0");
}
 
Example #20
Source File: QuarkusDeployableContainer.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDefaultProtocol() {
    return new ProtocolDescription("Quarkus");
}
 
Example #21
Source File: QuarkusProtocol.java    From quarkus with Apache License 2.0 4 votes vote down vote up
@Override
public ProtocolDescription getDescription() {
    return new ProtocolDescription("Quarkus");
}
 
Example #22
Source File: DaemonDeployableContainerBase.java    From ARCHIVE-wildfly-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @see org.jboss.arquillian.container.spi.client.container.DeployableContainer#getDefaultProtocol()
 */
@Override
public ProtocolDescription getDefaultProtocol() {
    return DaemonProtocol.DESCRIPTION;
}
 
Example #23
Source File: DaemonProtocol.java    From ARCHIVE-wildfly-swarm with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @see org.jboss.arquillian.container.test.spi.client.protocol.Protocol#getDescription()
 */
@Override
public ProtocolDescription getDescription() {
    return DESCRIPTION;
}
 
Example #24
Source File: DaemonDeployableContainerBase.java    From thorntail with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @see org.jboss.arquillian.container.spi.client.container.DeployableContainer#getDefaultProtocol()
 */
@Override
public ProtocolDescription getDefaultProtocol() {
    return DaemonProtocol.DESCRIPTION;
}
 
Example #25
Source File: DaemonProtocol.java    From thorntail with Apache License 2.0 2 votes vote down vote up
/**
 * {@inheritDoc}
 *
 * @see org.jboss.arquillian.container.test.spi.client.protocol.Protocol#getDescription()
 */
@Override
public ProtocolDescription getDescription() {
    return DESCRIPTION;
}