|
||||||||||
| 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.messaging.microcontainer.JBMBootstrapServer
public class JBMBootstrapServer
This is the method in which the JBM server can be deployed externall outside of jBoss. Alternatively a user can embed by using the same code as in main
| Nested Class Summary | |
|---|---|
protected class |
JBMBootstrapServer.Shutdown
|
| Field Summary | |
|---|---|
protected java.lang.String[] |
args
The arguments |
protected org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer |
deployer
The deployer |
protected java.util.List |
deployments
The deployments |
| Fields inherited from class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap |
|---|
config, kernel |
| Fields inherited from class org.jboss.kernel.plugins.AbstractKernelObject |
|---|
log |
| Fields inherited from class org.jboss.kernel.plugins.event.AbstractEventEmitter |
|---|
eventListenerRegistry, NULL, NULL_FILTER |
| Constructor Summary | |
|---|---|
JBMBootstrapServer(java.lang.String[] args)
JBoss 1.0.0 final Standalone Create a new bootstrap |
|
JBMBootstrapServer(java.lang.String[] args,
org.jboss.kernel.spi.config.KernelConfig kernelConfig)
|
|
| Method Summary | |
|---|---|
void |
bootstrap()
|
org.jboss.kernel.spi.deployment.KernelDeployment |
deploy(java.lang.String arg)
|
org.jboss.kernel.spi.deployment.KernelDeployment |
deploy(java.lang.String name,
java.lang.String xml)
Deploys a XML on the container |
protected org.jboss.kernel.spi.deployment.KernelDeployment |
deploy(java.net.URL url)
Deploy a url |
protected java.util.Properties |
getConfigProperties()
|
static void |
main(java.lang.String[] args)
Bootstrap the kernel from the command line |
void |
run()
|
void |
setProperties(java.util.Properties props)
|
void |
shutDown()
|
void |
undeploy(org.jboss.kernel.spi.deployment.KernelDeployment deployment)
Undeploy a deployment |
| Methods inherited from class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap |
|---|
getConfig, getKernel, 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 |
| Field Detail |
|---|
protected org.jboss.kernel.plugins.deployment.xml.BeanXMLDeployer deployer
protected java.util.List deployments
protected java.lang.String[] args
| Constructor Detail |
|---|
public JBMBootstrapServer(java.lang.String[] args)
throws java.lang.Exception
args - the arguments
java.lang.Exception - for any error
public JBMBootstrapServer(java.lang.String[] args,
org.jboss.kernel.spi.config.KernelConfig kernelConfig)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public static void main(java.lang.String[] args)
throws java.lang.Exception
args - the command line arguments
java.lang.Exception - for any errorpublic void run()
run in interface java.lang.Runnablerun in class org.jboss.kernel.plugins.bootstrap.AbstractBootstrap
public void bootstrap()
throws java.lang.Throwable
bootstrap in class org.jboss.kernel.plugins.bootstrap.AbstractBootstrapjava.lang.Throwable
public void undeploy(org.jboss.kernel.spi.deployment.KernelDeployment deployment)
throws java.lang.Throwable
deployment - the deployment
java.lang.Throwable
public org.jboss.kernel.spi.deployment.KernelDeployment deploy(java.lang.String arg)
throws java.lang.Throwable
java.lang.Throwable
public org.jboss.kernel.spi.deployment.KernelDeployment deploy(java.lang.String name,
java.lang.String xml)
throws java.lang.Throwable
java.lang.Throwable
protected org.jboss.kernel.spi.deployment.KernelDeployment deploy(java.net.URL url)
throws java.lang.Throwable
url - the deployment url
java.lang.Throwable - for any errorpublic void shutDown()
protected java.util.Properties getConfigProperties()
getConfigProperties in class org.jboss.kernel.plugins.bootstrap.basic.BasicBootstrappublic void setProperties(java.util.Properties props)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||