Arquillian OSGi TestEnricher 2.0.0.Alpha1

org.jboss.arquillian.testenricher.osgi
Class BundleContextProvider

java.lang.Object
  extended by org.jboss.arquillian.testenricher.osgi.BundleContextProvider
All Implemented Interfaces:
org.jboss.arquillian.test.spi.enricher.resource.ResourceProvider

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

OperatesOnDeploymentAwareProvider implementation to provide BundleContext injection to ArquillianResource- annotated fields.

Since:
15-Oct-2012
Author:
Thomas.Diesler@jboss.com

Constructor Summary
BundleContextProvider()
           
 
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

BundleContextProvider

public BundleContextProvider()
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 OSGi TestEnricher 2.0.0.Alpha1

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