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.

Bug 54755 - Add addInstanceListener and removeInstanceListener methods to Deployment class
Summary: Add addInstanceListener and removeInstanceListener methods to Deployment class
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: Other Other
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-09 16:40 UTC by Sherold Dev
Modified: 2005-02-14 18:23 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
j2eeserver diff (3.46 KB, patch)
2005-02-09 16:41 UTC, Sherold Dev
Details | Diff
J2EEServerAPI (331.12 KB, application/octet-stream)
2005-02-09 16:43 UTC, Sherold Dev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sherold Dev 2005-02-09 16:40:14 UTC
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
Comment 1 Sherold Dev 2005-02-09 16:41:57 UTC
Created attachment 20273 [details]
j2eeserver diff
Comment 2 Sherold Dev 2005-02-09 16:43:42 UTC
Created attachment 20274 [details]
J2EEServerAPI
Comment 3 Sherold Dev 2005-02-09 16:48:53 UTC
Since the change is trivial and compatible marking as 
API_REVIEW_FAST. 
Comment 4 Sherold Dev 2005-02-14 18:23:35 UTC
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