[jboss-dev-forums] [Design of JCA on JBoss] - Re: TCK testcases for JCA spec 10 chapter - WorkManager

ALRubinger do-not-reply at jboss.com
Fri Feb 27 14:07:48 EST 2009


Hey Jeff:

So I see you're using the EmbeddedTestMcBootstrap[1] for the tests.  Thought I'd offer some notes:

This class is a hacky, simplified view of MC for use in testing only.  Very simply, its job is to:

* Start up an KC Kernel
* Start up the virtual deployment framework
* Allow you to deploy MC XML into it (Like the *-jboss-beans.xml format used in AS)
* Do installs/lookups into MC

Objects that you install via the bootstrap really get installed into MC, and also take advantage of the MC lifecycle callbacks.

Any futher questions on its usage, reply here and I'll see what I can do to answer them.

S,
ALR

[1] http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/test/src/main/java/org/jboss/ejb3/test/mc/bootstrap/EmbeddedTestMcBootstrap.java

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4213843#4213843

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4213843



More information about the jboss-dev-forums mailing list