|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectBasicBootstrap
org.jboss.messaging.integration.bootstrap.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 BeanXMLDeployer |
deployer
The deployer |
protected java.util.List<KernelDeployment> |
deployments
The deployments |
Constructor Summary | |
---|---|
JBMBootstrapServer(KernelConfig kernelConfig,
java.lang.String... args)
|
|
JBMBootstrapServer(java.lang.String... args)
JBoss 1.0.0 final Standalone Create a new bootstrap |
Method Summary | |
---|---|
void |
addShutdownHook()
Add a simple shutdown hook to stop the server. |
void |
bootstrap()
|
KernelDeployment |
deploy(java.lang.String arg)
|
KernelDeployment |
deploy(java.lang.String name,
java.lang.String xml)
Deploys a XML on the container |
protected 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(KernelDeployment deployment)
Undeploy a deployment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BeanXMLDeployer deployer
protected java.util.List<KernelDeployment> 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 errorpublic JBMBootstrapServer(KernelConfig kernelConfig, java.lang.String... args) 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 addShutdownHook()
public void run()
public void bootstrap() throws java.lang.Throwable
java.lang.Throwable
public void undeploy(KernelDeployment deployment) throws java.lang.Throwable
deployment
- the deployment
java.lang.Throwable
public KernelDeployment deploy(java.lang.String arg) throws java.lang.Throwable
java.lang.Throwable
public KernelDeployment deploy(java.lang.String name, java.lang.String xml) throws java.lang.Throwable
java.lang.Throwable
protected 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()
public void setProperties(java.util.Properties props)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |