|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.kernel.plugins.event.AbstractEventEmitter
org.jboss.kernel.plugins.AbstractKernelObject
org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap
org.jboss.ejb3.test.mc.bootstrap.EmbeddedTestMcBootstrap
public class EmbeddedTestMcBootstrap
EmbeddedTestMcBootstrap A MicroContainer Bootstrap for general use in testing runtimes
| Nested Class Summary | |
|---|---|
protected class |
EmbeddedTestMcBootstrap.ShutdownDeployerThread
ShutdownDeployerThread A Simple Thread that, when run, will shut down its deployer |
| Field Summary |
|---|
| Fields inherited from class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap |
|---|
config |
| Fields inherited from class org.jboss.kernel.plugins.AbstractKernelObject |
|---|
kernel |
| Fields inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter |
|---|
eventListenerRegistry, NULL, NULL_FILTER |
| Constructor Summary | |
|---|---|
EmbeddedTestMcBootstrap()
|
|
| Method Summary | ||
|---|---|---|
protected void |
bootstrap()
|
|
static EmbeddedTestMcBootstrap |
createEmbeddedMcBootstrap()
Creates, runs, and returns a new Embedded MC Bootstrap |
|
void |
deploy(Class<?> testClass)
Deploy a URL in the form "fullyQualifiedClassName-beans.xml" constructed from the specified testClass |
|
void |
deploy(Class<?> testClass,
String filename)
Deploy a URL in the form "packageName.filename-beans.xml" constructed from the specified testClass and filename |
|
void |
deploy(ClassLoader cl,
String url)
Deploys the specified URL expressed as a String |
|
org.jboss.kernel.spi.deployment.KernelDeployment |
deploy(URL url)
Deploys the specified URL |
|
protected org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer |
getDeployer()
|
|
void |
installInstance(String name,
Object instance)
|
|
|
lookup(String name,
Class<T> expectedType)
|
|
protected void |
setDeployer(org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer deployer)
|
|
void |
shutdown()
Perform a clean shutdown. |
|
void |
undeploy(Class<?> testClass)
Undeploy a URL in the form "fullyQualifiedClassName-beans.xml" constructed from the specified testClass |
|
void |
undeploy(Class<?> testClass,
String filename)
Undeploy a URL in the form "packageName.filename-beans.xml" constructed from the specified testClass and filename |
|
void |
undeploy(ClassLoader cl,
String url)
Undeploys the specified URL expressed as a String |
|
void |
undeploy(URL url)
Undeploys the specified URL |
|
| Methods inherited from class org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrap |
|---|
getConfigProperties, main |
| Methods inherited from class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap |
|---|
getConfig, getKernel, run, setConfig |
| Methods inherited from class org.jboss.kernel.plugins.AbstractKernelObject |
|---|
setKernel |
| Methods inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter |
|---|
createEvent, fireKernelEvent, fireKernelEvent, hasListeners, nextEmitterSequence, registerListener, unregisterListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.kernel.spi.event.KernelEventEmitter |
|---|
fireKernelEvent, registerListener, unregisterListener |
| Constructor Detail |
|---|
public EmbeddedTestMcBootstrap()
| Method Detail |
|---|
public static EmbeddedTestMcBootstrap createEmbeddedMcBootstrap()
protected void bootstrap()
throws Throwable
bootstrap in class org.jboss.kernel.plugins.bootstrap.AbstractBootstrapThrowablepublic org.jboss.kernel.spi.deployment.KernelDeployment deploy(URL url)
url -
public void deploy(ClassLoader cl,
String url)
url - public void deploy(Class<?> testClass)
testClass -
public void deploy(Class<?> testClass,
String filename)
testClass - filename -
public <T> T lookup(String name,
Class<T> expectedType)
throws Throwable
name -
Throwablepublic void undeploy(URL url)
url -
public void undeploy(ClassLoader cl,
String url)
url - public void undeploy(Class<?> testClass)
testClass -
public void undeploy(Class<?> testClass,
String filename)
testClass - filename - protected org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer getDeployer()
protected void setDeployer(org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer deployer)
public void installInstance(String name,
Object instance)
throws Throwable
Throwablepublic void shutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||