This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Add addInstanceListener and removeInstanceListener methods to the Deployment class. This will allow registration of InstanceListeners that will listen to server instances changes (addition, removal, etc.) also for modules that do not implement the J2eeModuleProvider which was currently the only place where InstanceListeners could be registered. This is currenlty needed by Web Services registry which are disabled when there is no appserver registered in the IDE. When the appserver is added to the IDE, Web Services registry remains disabled until the IDE is restarted. Being able to listen to server instances changes allows to avoid needed IDE restart. Interfaces impacted by the change: org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment
Created attachment 20273 [details] j2eeserver diff
Created attachment 20274 [details] J2EEServerAPI
Since the change is trivial and compatible marking as API_REVIEW_FAST.
Setting as fixed since there was no feedback and since Pavel agreed with the commit. Commit log: Checking in apichanges.xml; /cvs/j2eeserver/apichanges.xml,v <-- apichanges.xml new revision: 1.11; previous revision: 1.10 done Processing log script arguments... More commits to come... Checking in src/org/netbeans/modules/j2ee/deployment/devmodules/api/Deployment.java; /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/devmodules/api/Deployment.java,v <-- Deployment.java new revision: 1.20; previous revision: 1.19 done