public class ServerDetector
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
GLASSFISH_ID |
static String |
JBOSS_ID |
static String |
JETTY_ID |
static String |
JONAS_ID |
static String |
OC4J_ID |
static String |
RESIN_ID |
static String |
SYSTEM_PROPERTY_KEY_SERVER_DETECTOR_SERVER_ID |
static String |
TOMCAT_ID |
static String |
WEBLOGIC_ID |
static String |
WEBSPHERE_ID |
static String |
WILDFLY_ID |
Constructor and Description |
---|
ServerDetector() |
Modifier and Type | Method and Description |
---|---|
static ServerDetector |
getInstance()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static String |
getServerId() |
static void |
init(String serverId)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static boolean |
isGlassfish() |
static boolean |
isJBoss() |
static boolean |
isJetty() |
static boolean |
isJOnAS() |
static boolean |
isOC4J() |
static boolean |
isResin() |
static boolean |
isSupported(String serverType) |
static boolean |
isSupportsComet() |
static boolean |
isSupportsHotDeploy()
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
static boolean |
isTomcat() |
static boolean |
isWebLogic() |
static boolean |
isWebSphere() |
static boolean |
isWildfly() |
static void |
setSupportsHotDeploy(boolean supportsHotDeploy)
Deprecated.
As of Judson (7.1.x), with no direct replacement
|
public static final String GLASSFISH_ID
public static final String JBOSS_ID
public static final String JETTY_ID
public static final String JONAS_ID
public static final String OC4J_ID
public static final String RESIN_ID
public static final String SYSTEM_PROPERTY_KEY_SERVER_DETECTOR_SERVER_ID
public static final String TOMCAT_ID
public static final String WEBLOGIC_ID
public static final String WEBSPHERE_ID
public static final String WILDFLY_ID
@Deprecated public static ServerDetector getInstance()
public static String getServerId()
@Deprecated public static void init(String serverId)
public static boolean isGlassfish()
public static boolean isJBoss()
public static boolean isJetty()
public static boolean isJOnAS()
public static boolean isOC4J()
public static boolean isResin()
public static boolean isSupported(String serverType)
public static boolean isSupportsComet()
@Deprecated public static boolean isSupportsHotDeploy()
public static boolean isTomcat()
public static boolean isWebLogic()
public static boolean isWebSphere()
public static boolean isWildfly()
@Deprecated public static void setSupportsHotDeploy(boolean supportsHotDeploy)