public abstract class J2eePlatformImpl2 extends J2eePlatformImpl
J2eePlatformImpl
adding methods to handle
platform directories in a cleaner way.J2eePlatformImpl
PROP_DISPLAY_NAME, PROP_LIBRARIES, PROP_SERVER_LIBRARIES
Constructor and Description |
---|
J2eePlatformImpl2() |
Modifier and Type | Method and Description |
---|---|
abstract File |
getDomainHome()
Returns the domain directory or
null if not
specified or unknown. |
abstract File |
getMiddlewareHome()
Returns the middleware directory or
null if not
specified or unknown. |
abstract File |
getServerHome()
Returns the server installation directory or
null if not
specified or unknown. |
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getJavaPlatform, getLibraries, getLibraries, getLookup, getPlatformRoots, getSupportedJavaPlatformVersions, getSupportedModuleTypes, getSupportedProfiles, getSupportedProfiles, getSupportedSpecVersions, getSupportedSpecVersions, getSupportedTypes, getToolClasspathEntries, getToolProperty, isToolSupported, removePropertyChangeListener
@CheckForNull public abstract File getServerHome()
null
if not
specified or unknown.null
if not
specified or unknown@CheckForNull public abstract File getDomainHome()
null
if not
specified or unknown. Many Java EE servers allows usage of multiple
server instances using single binaries. In such case this method should
return the installation/configuration directory of such instance.null
if not
specified or unknown@CheckForNull public abstract File getMiddlewareHome()
null
if not
specified or unknown. Some servers share certain binaries on higher level
with other products of the same vendor. In such case this method should
return the appropriate directory.null
if not
specified or unknown