org.jboss.jca.embedded.arquillian
Class ArquillianJCATestUtils

java.lang.Object
  extended by org.jboss.jca.embedded.arquillian.ArquillianJCATestUtils

public final class ArquillianJCATestUtils
extends Object

A ArquillianJCATestUtils.

Author:
Stefano Maestri

Constructor Summary
ArquillianJCATestUtils()
           
 
Method Summary
static org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive buidShrinkwrapRa(String archiveName, String packageName)
          Build a shrinkwrap rar adding all necessary classes
static org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive buildShrinkwrapJdbcLocal(String archiveName)
          Build a shrinkwrap rar for jdbc local
static org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive buildShrinkwrapJdbcXa(String archiveName)
          Build a shrinkwrap rar for jdbc xa
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArquillianJCATestUtils

public ArquillianJCATestUtils()
Method Detail

buidShrinkwrapRa

public static org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive buidShrinkwrapRa(String archiveName,
                                                                                    String packageName)
                                                                             throws Exception
Build a shrinkwrap rar adding all necessary classes

Parameters:
archiveName - the archhive name
packageName - the package name
Returns:
the shrinkwrapped rar
Throws:
Exception - in case of error creating the archive

buildShrinkwrapJdbcLocal

public static org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive buildShrinkwrapJdbcLocal(String archiveName)
                                                                                     throws Exception
Build a shrinkwrap rar for jdbc local

Parameters:
archiveName - the archhive name
Returns:
the shrinkwrapped rar
Throws:
Exception - in case of error creating the archive

buildShrinkwrapJdbcXa

public static org.jboss.shrinkwrap.api.spec.ResourceAdapterArchive buildShrinkwrapJdbcXa(String archiveName)
                                                                                  throws Exception
Build a shrinkwrap rar for jdbc xa

Parameters:
archiveName - the archhive name
Returns:
the shrinkwrapped rar
Throws:
Exception - in case of error creating the archive


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)