org.jboss.kernel.plugins.bootstrap.standalone
Class StandaloneBootstrap
java.lang.Object
org.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.kernel.plugins.bootstrap.standalone.StandaloneBootstrap
- All Implemented Interfaces:
- Runnable, KernelEventEmitter, KernelObject
public class StandaloneBootstrap
- extends BasicBootstrap
Standalone Bootstrap of the kernel.
- Version:
- $Revision: 69895 $
- Author:
- Adrian Brock, Les A. Hazlewood
Method Summary |
void |
bootstrap()
Bootstrap the kernel |
protected void |
deploy(URL url)
Deploy a url |
static void |
main(String[] args)
Bootstrap the kernel from the command line |
protected void |
undeploy(URL url)
Undeploy a url |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deployer
protected BasicXMLDeployer deployer
- The deployer
args
protected String[] args
- The arguments
StandaloneBootstrap
public StandaloneBootstrap(String[] args)
throws Exception
- Create a new bootstrap
- Parameters:
args
- the arguments
- Throws:
Exception
- for any error
main
public static void main(String[] args)
throws Exception
- Bootstrap the kernel from the command line
- Parameters:
args
- the command line arguments
- Throws:
Exception
- for any error
bootstrap
public void bootstrap()
throws Throwable
- Description copied from class:
AbstractBootstrap
- Bootstrap the kernel
- Overrides:
bootstrap
in class AbstractBootstrap
- Throws:
Throwable
- for any error
deploy
protected void deploy(URL url)
throws Throwable
- Deploy a url
- Parameters:
url
- the deployment url
- Throws:
Throwable
- for any error
undeploy
protected void undeploy(URL url)
- Undeploy a url
- Parameters:
url
- the deployment url
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.