org.jboss.bootstrap.spi.as.server
Interface JBossASBasedServer<K extends JBossASBasedServer<K,T>,T extends JBossASBasedServerConfig<T>>

All Superinterfaces:
org.jboss.bootstrap.spi.mc.server.MCBasedServer<K,T>, org.jboss.bootstrap.spi.server.Server<K,T>
All Known Subinterfaces:
JBossASServer

public interface JBossASBasedServer<K extends JBossASBasedServer<K,T>,T extends JBossASBasedServerConfig<T>>
extends org.jboss.bootstrap.spi.mc.server.MCBasedServer<K,T>

JBossASBasedServer Contract for JBoss Application Servers and extensions thereof

Version:
$Revision: $
Author:
ALR

Field Summary
 
Fields inherited from interface org.jboss.bootstrap.spi.server.Server
START_NOTIFICATION_TYPE, STOP_NOTIFICATION_TYPE
 
Method Summary
 String getBuildDate()
           
 String getBuildID()
           
 String getBuildJVM()
           
 String getBuildNumber()
           
 String getBuildOS()
           
 Map<String,Object> getMetaData()
          Get the optional server configuration metadata
 Date getStartDate()
           
 String getVersion()
           
 String getVersionName()
           
 String getVersionNumber()
           
 boolean isStarted()
          Deprecated. Should be removed when we won't be targeting jboss-bootstrap for AS 5.x anymore. AS6 will not support this invocation, instead we should use Server.getState()
 
Methods inherited from interface org.jboss.bootstrap.spi.mc.server.MCBasedServer
getDeployments, getKernel
 
Methods inherited from interface org.jboss.bootstrap.spi.server.Server
addBootstrap, getConfigInitializer, getConfiguration, getServerInitializer, getState, getValidator, initialize, registerEventHandler, registerEventHandler, registerEventHandler, registerEventHandlers, removeBootstrap, setConfigInitializer, setConfiguration, setServerInitializer, setValidator, shutdown, start, unregisterEventHandler
 

Method Detail

getStartDate

Date getStartDate()
Returns:
The server start date

getVersion

String getVersion()
Returns:
The server version, the underlying version expressed as a String

getVersionName

String getVersionName()
Returns:
The server version code name

getVersionNumber

String getVersionNumber()
Returns:
The full server version number

getBuildNumber

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

getBuildJVM

String getBuildJVM()
Returns:
The JVM used to build the server

getBuildOS

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

getBuildID

String getBuildID()
Returns:
The build id

getBuildDate

String getBuildDate()
Returns:
The date the server was build

getMetaData

Map<String,Object> getMetaData()
Get the optional server configuration metadata

Returns:
A possibly empty map of configuration metadata

isStarted

@Deprecated
boolean isStarted()
Deprecated. Should be removed when we won't be targeting jboss-bootstrap for AS 5.x anymore. AS6 will not support this invocation, instead we should use Server.getState()

Returns whether or not the server is started. JBBOOT-80

Returns:


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