|
||||||||||
| 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.kernel.plugins.bootstrap.standalone.StandaloneBootstrap
public class StandaloneBootstrap
Standalone Bootstrap of the kernel.
| Nested Class Summary | |
|---|---|
protected class |
StandaloneBootstrap.Shutdown
|
| Field Summary | |
|---|---|
protected String[] |
args
The arguments |
protected BeanXMLDeployer |
deployer
The deployer |
protected 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 |
| Constructor Summary | |
|---|---|
StandaloneBootstrap(String[] args)
Create a new bootstrap |
|
| 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(KernelDeployment deployment)
Undeploy a deployment |
| 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 |
| Field Detail |
|---|
protected BeanXMLDeployer deployer
protected List deployments
protected String[] args
| Constructor Detail |
|---|
public StandaloneBootstrap(String[] args)
throws Exception
args - the arguments
Exception - for any error| Method Detail |
|---|
public static void main(String[] args)
throws Exception
args - the command line arguments
Exception - for any error
public void bootstrap()
throws Throwable
AbstractBootstrap
bootstrap in class AbstractBootstrapThrowable - for any error
protected void deploy(URL url)
throws Throwable
url - the deployment url
Throwable - for any errorprotected void undeploy(KernelDeployment deployment)
deployment - the deployment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||