org.netbeans.modules.j2ee.deployment.plugins.spi
Class J2eePlatformImpl2
java.lang.Object
org.netbeans.modules.j2ee.deployment.plugins.spi.J2eePlatformImpl
org.netbeans.modules.j2ee.deployment.plugins.spi.J2eePlatformImpl2
public abstract class J2eePlatformImpl2
- extends J2eePlatformImpl
SPI extending the original J2eePlatformImpl adding methods to handle
platform directories in a cleaner way.
- Since:
- 1.72
- See Also:
J2eePlatformImpl
|
Method Summary |
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. |
| Methods inherited from class org.netbeans.modules.j2ee.deployment.plugins.spi.J2eePlatformImpl |
addPropertyChangeListener, firePropertyChange, getDisplayName, getIcon, getJavaPlatform, getLibraries, getLibraries, getLookup, getPlatformRoots, getSupportedJavaPlatformVersions, getSupportedModuleTypes, getSupportedProfiles, getSupportedProfiles, getSupportedSpecVersions, getSupportedSpecVersions, getSupportedTypes, getToolClasspathEntries, getToolProperty, isToolSupported, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
J2eePlatformImpl2
public J2eePlatformImpl2()
getServerHome
@CheckForNull
public abstract File getServerHome()
- Returns the server installation directory or
null if not
specified or unknown.
- Returns:
- the server installation directory or
null if not
specified or unknown
getDomainHome
@CheckForNull
public abstract File getDomainHome()
- Returns the domain directory or
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.
- Returns:
- the domain directory or
null if not
specified or unknown
getMiddlewareHome
@CheckForNull
public abstract File getMiddlewareHome()
- Returns the middleware directory or
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.
- Returns:
- the middleware directory or
null if not
specified or unknown