|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.modules.j2ee.deployment.devmodules.api.ServerInstance
public final class ServerInstance
The class allowing the client to query the instance identified by
the instance ID. Because corresponding instance can be removed anytime
each method can throw InstanceRemovedException.
| Nested Class Summary | |
|---|---|
class |
ServerInstance.Descriptor
Descriptor providing extra (and optional) information about the server instance. |
| Method Summary | |
|---|---|
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. |
String |
getServerDisplayName()
Returns the display name of the server. |
String |
getServerID()
Returns the ID of the server associated with this instance. |
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 |
isRunning()
Returns true if this instance is running, false
otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getDisplayName()
throws InstanceRemovedException
InstanceRemovedException - if the instance is not available anymore
public String getServerDisplayName()
throws InstanceRemovedException
InstanceRemovedException - if the instance is not available anymore
public String getServerID()
throws InstanceRemovedException
InstanceRemovedException - if the instance is not available anymore
public boolean isRunning()
throws InstanceRemovedException
true if this instance is running, false
otherwise.
true if this instance is running, false
otherwise
InstanceRemovedException - if the instance is not available anymore
public J2eePlatform getJ2eePlatform()
throws InstanceRemovedException
InstanceRemovedException - if the instance is not available anymore
public 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 application
true when the deploy on save is supported by the
server for the given module
InstanceRemovedException - if the instance is not available anymore
public 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
server
InstanceRemovedException - if the instance is not available anymore
public ServerInstance.Descriptor getDescriptor()
throws InstanceRemovedException
null if the server does not support this.
null
InstanceRemovedException - if the instance is not available anymore
|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||