Skip to content

Commit

Permalink
Document two container usage
Browse files Browse the repository at this point in the history
  • Loading branch information
cschneider committed May 3, 2017
1 parent b4a9572 commit 9380890
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
import org.ops4j.pax.exam.junit.PaxExam;
import org.ops4j.pax.exam.spi.PaxExamRuntime;

/**
* Can be used instead of the PaxExam runner to start a second
* OSGi container that typically hosts the server side for the test.
*
* Use the @ServerConfiguration annotation to mark the config of your server side
*/
public class TwoContainerPaxExam extends PaxExam {

private Class<?> testClass;
Expand Down

0 comments on commit 9380890

Please # to comment.