org.netbeans.modules.server/0 1.20

org.netbeans.spi.server
Interface ServerInstanceImplementation


public interface ServerInstanceImplementation

The representation of the single server instance. Interface describes the instance and provides needed operations.

See Also:
ServerInstanceProvider

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.
 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.
 

Method Detail

getDisplayName

String getDisplayName()
Returns the display name of the instance.

Returns:
the display name of the instance

getServerDisplayName

String getServerDisplayName()
Returns the display name of the server type to which this instance belongs.

Returns:
the display name of the server type to which this instance belongs

getFullNode

Node getFullNode()
Returns the node representing the runtime instance. The node should display instance status and provide actions to manage the server.

Returns:
the node representing the instance, may return null

getBasicNode

Node getBasicNode()
Returns the node representing the instance while configuring it. The node should not display any status, actions or children.

Returns:
the node representing the instance, may return null

getCustomizer

JComponent getCustomizer()
Returns the component allowing the customization of the instance. May return null.

Always called from Event Dispatch Thread.

Returns:
the component allowing the customization of the instance, may return null

remove

void remove()
Removes the instance. No ServerInstanceProvider should return this instance once it is removed.


isRemovable

boolean isRemovable()
Returns true if the instance can be removed by remove(). Otherwise returns false.

Returns:
true if the instance can be removed

org.netbeans.modules.server/0 1.20

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.