public final class ServerInstance extends Object
InstanceRemovedException
.Modifier and Type | Class and Description |
---|---|
class |
ServerInstance.Descriptor
Descriptor providing extra (and optional) information about the server instance.
|
class |
ServerInstance.LibraryManager
The manager providing the access to server libraries.
|
Modifier and Type | Method and Description |
---|---|
ServerInstance.Descriptor |
getDescriptor()
Returns descriptor providing extra information about the instance.
|
String |
getDisplayName()
Returns the display name of this instance.
|
J2eePlatform |
getJ2eePlatform()
Returns the platform for this instance.
|
ServerInstance.LibraryManager |
getLibraryManager()
Returns manager providing the access to server libraries.
|
String |
getServerDisplayName()
Returns the display name of the server.
|
String |
getServerID()
Returns the ID of the server associated with this instance.
|
boolean |
isDebuggingSupported()
Returns
true when debugging is supported by the server. |
boolean |
isDeployOnSaveSupported()
Returns
true when the deploy on save is supported by the
server. |
boolean |
isDeployOnSaveSupported(J2eeModule module)
Returns
true when the deploy on save is supported by the
server for the given module. |
boolean |
isProfilingSupported()
Returns
true when profiling is supported by the server. |
boolean |
isRunning()
Returns
true if this instance is running, false
otherwise. |
public String getDisplayName() throws InstanceRemovedException
InstanceRemovedException
- if the instance is not available anymorepublic String getServerDisplayName() throws InstanceRemovedException
InstanceRemovedException
- if the instance is not available anymorepublic String getServerID() throws InstanceRemovedException
InstanceRemovedException
- if the instance is not available anymorepublic boolean isRunning() throws InstanceRemovedException
true
if this instance is running, false
otherwise.true
if this instance is running, false
otherwiseInstanceRemovedException
- if the instance is not available anymorepublic J2eePlatform getJ2eePlatform() throws InstanceRemovedException
InstanceRemovedException
- if the instance is not available anymorepublic boolean isDeployOnSaveSupported(J2eeModule module) throws InstanceRemovedException
true
when the deploy on save is supported by the
server for the given module.module
- module representing the applicationtrue
when the deploy on save is supported by the
server for the given moduleInstanceRemovedException
- if the instance is not available anymorepublic boolean isDeployOnSaveSupported() throws InstanceRemovedException
true
when the deploy on save is supported by the
server.true
when the deploy on save is supported by the
serverInstanceRemovedException
- if the instance is not available anymorepublic boolean isDebuggingSupported() throws InstanceRemovedException
true
when debugging is supported by the server.true
when debugging is supported by the serverInstanceRemovedException
- if the instance is not available anymorepublic boolean isProfilingSupported() throws InstanceRemovedException
true
when profiling is supported by the server.true
when profiling is supported by the serverInstanceRemovedException
- if the instance is not available anymorepublic ServerInstance.Descriptor getDescriptor() throws InstanceRemovedException
null
if the server does not support this.null
InstanceRemovedException
- if the instance is not available anymorepublic ServerInstance.LibraryManager getLibraryManager() throws InstanceRemovedException
null
if the server does not support this.null
InstanceRemovedException
- if the instance is not available anymore