|
org.netbeans.modules.server/0 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.server.ServerInstance
public final class ServerInstance
The API representation of the single server instance. Class describes the instance and provides needed operations.
Currently this class is not reachable through API methods. This can change in future if we'll need to provide API in common server.
| Method Summary | |
|---|---|
Node |
getBasicNode()
Returns the node representing the instance while configuring it. |
JComponent |
getCustomizer()
Returns the component allowing the customization of the instance. |
String |
getDisplayName()
Returns the display name of the instance. |
Node |
getFullNode()
Returns the node representing the runtime instance. |
Lookup |
getLookup()
Returns the lookup associated with this instance. |
String |
getServerDisplayName()
Returns the display name of the server type to which this instance belongs. |
boolean |
isRemovable()
Returns true if the instance can be removed by
remove(). |
void |
remove()
Removes the instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public String getDisplayName()
public String getServerDisplayName()
public Node getFullNode()
nullpublic Node getBasicNode()
nullpublic JComponent getCustomizer()
null.
Always called from Event Dispatch Thread.
nullpublic void remove()
ServerInstanceProvider
should return this instance once it is removed.
public boolean isRemovable()
true if the instance can be removed by
remove(). Otherwise returns false.
true if the instance can be removedpublic Lookup getLookup()
getLookup in interface Lookup.Provider
|
org.netbeans.modules.server/0 1.20 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||