org.jboss.bootstrap.spi
Interface ServerProcess

All Superinterfaces:
Server
All Known Implementing Classes:
AbstractServerImpl, ServerImpl

public interface ServerProcess
extends Server

ServerProcess An abstraction of an AS instance as run from within a dedicated / standalone Process (JVM)

Version:
$Revision: $
Author:
ALR

Field Summary
 
Fields inherited from interface org.jboss.bootstrap.spi.Server
START_NOTIFICATION_TYPE, STOP_NOTIFICATION_TYPE
 
Method Summary
 void exit()
          Shutdown the server, the JVM and run shutdown hooks.
 void exit(int exitcode)
          Shutdown the server, the JVM and run shutdown hooks.
 void halt()
          Forcibly terminates the currently running Java virtual machine.
 void halt(int exitcode)
          Forcibly terminates the currently running Java virtual machine.
 
Methods inherited from interface org.jboss.bootstrap.spi.Server
getBuildDate, getBuildID, getBuildJVM, getBuildNumber, getBuildOS, getConfig, getMetaData, getStartDate, getVersion, getVersionName, getVersionNumber, init, init, isInShutdown, isStarted, shutdown, start
 

Method Detail

exit

void exit(int exitcode)
Shutdown the server, the JVM and run shutdown hooks.

Parameters:
exitcode - The exit code returned to the operating system.

exit

void exit()
Shutdown the server, the JVM and run shutdown hooks. Exits with code 1.


halt

void halt(int exitcode)
Forcibly terminates the currently running Java virtual machine.

Parameters:
exitcode - The exit code returned to the operating system.

halt

void halt()
Forcibly terminates the currently running Java virtual machine. Exits with code 1.



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.