com.jalios.jcms
Class AppServerInfo

java.lang.Object
  extended by com.jalios.jcms.AppServerInfo

public class AppServerInfo
extends Object

This class manages information about the underlying application server.

Since:
jcms-4.0
Version:
$Revision: 34164 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Method Summary
static AppServerInfo getInstance(javax.servlet.ServletContext context)
          Return an instance of AppServerInfo
 String getName()
           
 String getPattern()
           
 String getRestartFile()
           
 String getServerInfo()
           
 boolean isRestartSupported()
          Check if restart is fully supported under this Application Server
 void setRestartSupported(boolean restartSupported)
          Change current status regarding restart possibility under this Application Server
 void setServerInfo(String string)
          Set the serverInfo String
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
See Also:
Constant Field Values
Method Detail

getInstance

public static AppServerInfo getInstance(javax.servlet.ServletContext context)
Return an instance of AppServerInfo

Parameters:
context - the ServletContext
Returns:
an instance of AppServerInfo
Since:
jcms-4.0

getName

public String getName()
Returns:
the name
Since:
jcms-4.0

getPattern

public String getPattern()
Returns:
the string pattern
Since:
jcms-4.0

getRestartFile

public String getRestartFile()
Returns:
the restart file
Since:
jcms-4.0

getServerInfo

public String getServerInfo()
Returns:
the serverInfo String
Since:
jcms-4.0

setServerInfo

public void setServerInfo(String string)
Set the serverInfo String

Parameters:
string - the serverInfo String
Since:
jcms-4.0

isRestartSupported

public boolean isRestartSupported()
Check if restart is fully supported under this Application Server

Returns:
true if restart can be performed from JCMS false otherwise.

setRestartSupported

public void setRestartSupported(boolean restartSupported)
Change current status regarding restart possibility under this Application Server

Parameters:
restartSupported - set to true to allow restart to be performed false to disable it

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2010 Jalios SA. All Rights Reserved.