Class J2EEServerInfo
- java.lang.Object
-
- org.exoplatform.container.monitor.jvm.J2EEServerInfo
-
public class J2EEServerInfo extends Object
- Since:
- Nov 8, 2004
- Version:
- $Id: J2EEServerInfo.java 5799 2006-05-28 17:55:42Z geaz $
- Author:
- Tuan Nguyen (tuan08@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXO_ARCHIVE_DIRS_PARAMThe name of the JVM parameter that allows us to change the default directories where the archives are deployedstatic StringEXO_CONF_DIR_NAME_PARAMThe name of the JVM parameter that allows us to change the default name of the configuration directory which is "exo-conf"static StringEXO_CONF_PARAMThe name of the JVM parameter that allows us to change the location of the configuration directory
-
Constructor Summary
Constructors Constructor Description J2EEServerInfo()J2EEServerInfo(boolean logEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Archive>getApplicationDeployArchives()List<String>getApplicationDeployDirectories()StringgetExoConfigurationDirectory()MBeanServergetMBeanServer()Returns an mbean server setup by the application server environment or null if none cannot be located.StringgetServerHome()StringgetServerName()booleanisJBoss()
-
-
-
Field Detail
-
EXO_CONF_PARAM
public static final String EXO_CONF_PARAM
The name of the JVM parameter that allows us to change the location of the configuration directory- See Also:
- Constant Field Values
-
EXO_CONF_DIR_NAME_PARAM
public static final String EXO_CONF_DIR_NAME_PARAM
The name of the JVM parameter that allows us to change the default name of the configuration directory which is "exo-conf"- See Also:
- Constant Field Values
-
EXO_ARCHIVE_DIRS_PARAM
public static final String EXO_ARCHIVE_DIRS_PARAM
The name of the JVM parameter that allows us to change the default directories where the archives are deployed- See Also:
- Constant Field Values
-
-
Method Detail
-
getMBeanServer
public MBeanServer getMBeanServer()
Returns an mbean server setup by the application server environment or null if none cannot be located.- Returns:
- an mean server
-
getServerName
public String getServerName()
-
getServerHome
public String getServerHome()
-
getExoConfigurationDirectory
public String getExoConfigurationDirectory()
-
isJBoss
public boolean isJBoss()
-
-