org.jboss.system.server
Interface ServerImplMBean

All Known Implementing Classes:
ServerImpl

public interface ServerImplMBean

MBean interface.


Field Summary
static javax.management.ObjectName OBJECT_NAME
          The default object name
 
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.
 String getBuildDate()
          The date the server was build
 String getBuildID()
          The build id
 String getBuildJVM()
          The JVM used to build the server
 String getBuildNumber()
          The date the server was build (compiled)
 String getBuildOS()
          The Operating System used to build the server
 Date getStartDate()
          The server start date
 String getVersion()
          The server version
 String getVersionName()
          The server version code name
 void halt()
          Forcibly terminates the currently running Java virtual machine.
 void halt(int exitcode)
          Forcibly terminates the currently running Java virtual machine.
 boolean isInShutdown()
          A flag indicating if shutdown has been called
 boolean isStarted()
          The server state, true if started, false otherwise
 void runFinalization()
          Hint to the JVM to run any pending object finailizations.
 void runGarbageCollector()
          Hint to the JVM to run the garbage collector.
 void shutdown()
          Shutdown the Server instance and run shutdown hooks.
 void traceInstructions(Boolean flag)
          Enable or disable tracing instructions the Runtime level.
 void traceMethodCalls(Boolean flag)
          Enable or disable tracing method calls at the Runtime level.
 

Field Detail

OBJECT_NAME

static final javax.management.ObjectName OBJECT_NAME
The default object name

Method Detail

getStartDate

Date getStartDate()
The server start date


getVersion

String getVersion()
The server version


getVersionName

String getVersionName()
The server version code name


getBuildNumber

String getBuildNumber()
The date the server was build (compiled)


getBuildJVM

String getBuildJVM()
The JVM used to build the server


getBuildOS

String getBuildOS()
The Operating System used to build the server


getBuildID

String getBuildID()
The build id


getBuildDate

String getBuildDate()
The date the server was build


isStarted

boolean isStarted()
The server state, true if started, false otherwise


isInShutdown

boolean isInShutdown()
A flag indicating if shutdown has been called


shutdown

void shutdown()
              throws IllegalStateException
Shutdown the Server instance and run shutdown hooks. If the exit on shutdown flag is true, then exit(int) is called, else only the shutdown hook is run.

Throws:
IllegalStateException - No started.

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.


runGarbageCollector

void runGarbageCollector()
Hint to the JVM to run the garbage collector.


runFinalization

void runFinalization()
Hint to the JVM to run any pending object finailizations.


traceMethodCalls

void traceMethodCalls(Boolean flag)
Enable or disable tracing method calls at the Runtime level.


traceInstructions

void traceInstructions(Boolean flag)
Enable or disable tracing instructions the Runtime level.



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.