Top Fields Constructors Methods
org.eclipse.persistence.platform.server.was

public Class WebSpherePlatformDetector

extends Object
implements ServerPlatformDetector
Class Inheritance
All Implemented Interfaces
org.eclipse.persistence.platform.server.ServerPlatformDetector
Imports
java.security.AccessController, .PrivilegedAction, org.eclipse.persistence.config.TargetServer, org.eclipse.persistence.internal.security.PrivilegedAccessHelper, org.eclipse.persistence.platform.server.ServerPlatformDetector

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private static final String[]

Constructor Summary

AccessConstructor and Description
public
WebSpherePlatformDetector()

Default constructor.

Method Summary

Modifier and TypeMethod and Description
private Boolean
public String
private Boolean
private boolean
private Boolean

Returns:

true if running full profile, false otherwise.
isFullProfileInternal
()

A private worker method that must be wrapped in a doPriv block if the security manager is enabled.

private boolean
private Boolean

Returns:

true if running Liberty, false otherwise.
isLibertyInternal
()

A private worker method that must be wrapped in a doPriv block if the security manager is enabled.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

FULL_PROFILE_WAS_DIR_CLSback to summary
private static final String FULL_PROFILE_WAS_DIR_CLS
LIBERTY_PROFILE_INFO_INTback to summary
private static final String LIBERTY_PROFILE_INFO_INT
LIBERTY_PROPSback to summary
private static final String[] LIBERTY_PROPS

Constructor Detail

WebSpherePlatformDetectorback to summary
public WebSpherePlatformDetector()

Default constructor.

Method Detail

checkClassLoaderback to summary
private Boolean checkClassLoader(String className)
checkPlatformback to summary
public String checkPlatform()

Implements org.eclipse.persistence.platform.server.ServerPlatformDetector.checkPlatform.

Returns:String

Doc from org.eclipse.persistence.platform.server.ServerPlatformDetector.checkPlatform.

org.eclipse.persistence.config.TargetServer constant if this detector determines the platform this is currently being run on. Return null if unknown.

Annotations
@Override
checkPropertiesback to summary
private Boolean checkProperties(String[] props)
isFullProfileback to summary
private boolean isFullProfile()
isFullProfileInternalback to summary
private Boolean isFullProfileInternal()

A private worker method that must be wrapped in a doPriv block if the security manager is enabled.

Returns:Boolean

true if running full profile, false otherwise.

isLibertyback to summary
private boolean isLiberty()
isLibertyInternalback to summary
private Boolean isLibertyInternal()

A private worker method that must be wrapped in a doPriv block if the security manager is enabled.

Returns:Boolean

true if running Liberty, false otherwise.