Arquillian Warp Extension: Implementation 1.0.0.Alpha1

org.jboss.arquillian.warp.client.proxy
Class ProxyURLProvider

java.lang.Object
  extended by org.jboss.arquillian.warp.client.proxy.ProxyURLProvider
All Implemented Interfaces:
org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider

public class ProxyURLProvider
extends Object
implements org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider

Provides the proxy URL instead of real URL. Stores the mapping between real URL and proxy URL in URLMapping.

Author:
Lukas Fryc

Constructor Summary
ProxyURLProvider()
           
 
Method Summary
 boolean canProvide(Class<?> type)
           
 Object lookup(org.jboss.arquillian.test.api.ArquillianResource resource, Annotation... qualifiers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyURLProvider

public ProxyURLProvider()
Method Detail

canProvide

public boolean canProvide(Class<?> type)
Specified by:
canProvide in interface org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider

lookup

public Object lookup(org.jboss.arquillian.test.api.ArquillianResource resource,
                     Annotation... qualifiers)
Specified by:
lookup in interface org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider

Arquillian Warp Extension: Implementation 1.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.