org.jboss.jca.embedded.arquillian
Class EmbeddedJCATestEnricher
java.lang.Object
org.jboss.arquillian.testenricher.resource.ResourceInjectionEnricher
org.jboss.jca.embedded.arquillian.EmbeddedJCATestEnricher
- All Implemented Interfaces:
- org.jboss.arquillian.spi.TestEnricher
public class EmbeddedJCATestEnricher
- extends org.jboss.arquillian.testenricher.resource.ResourceInjectionEnricher
TestEnricher implementation specific to the EmbeddedJCA container
- Author:
- Jesper Pedersen
| Methods inherited from class org.jboss.arquillian.testenricher.resource.ResourceInjectionEnricher |
enrich, getResourceName, getResourceName, injectClass, resolve |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedJCATestEnricher
public EmbeddedJCATestEnricher()
- Constructor
lookup
protected Object lookup(String jndiName)
throws Exception
- Lookup an object in JNDI
- Overrides:
lookup in class org.jboss.arquillian.testenricher.resource.ResourceInjectionEnricher
- Parameters:
jndiName - The JNDI name
- Returns:
- The object
- Throws:
Exception - Thrown if the lookup can't be performed- See Also:
ResourceInjectionEnricher.lookup(java.lang.String)
createContext
protected InitialContext createContext()
throws Exception
- Create a context
- Returns:
- The context
- Throws:
Exception - Thrown if an error occurs
Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)