org.netbeans.modules.j2ee.deployment.devmodules.spi
Interface InstanceListener

All Superinterfaces:
EventListener

public interface InstanceListener
extends EventListener

Listen to server instances changes.

Since:
1.6

Method Summary
 void changeDefaultInstance(String oldServerInstanceID, String newServerInstanceID)
          Default server instance has been changed.
 void instanceAdded(String serverInstanceID)
          Server instance has been added.
 void instanceRemoved(String serverInstanceID)
          Server instance has been removed.
 

Method Detail

changeDefaultInstance

void changeDefaultInstance(String oldServerInstanceID,
                           String newServerInstanceID)
Default server instance has been changed.

Parameters:
oldServerInstanceID - id of the old default server instance.
newServerInstanceID - id of the new default server instance.

instanceAdded

void instanceAdded(String serverInstanceID)
Server instance has been added.

Parameters:
serverInstanceID - id of the server instance that has been added.

instanceRemoved

void instanceRemoved(String serverInstanceID)
Server instance has been removed.

Parameters:
serverInstanceID - id of the server instance that has been removed.

 

Built on March 27 2006.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.