Bug 53721 - Add method to StartServer SPI for handling the need to restart server
Add method to StartServer SPI for handling the need to restart server
Status: RESOLVED FIXED
Product: serverplugins
Classification: Unclassified
Component: Infrastructure
4.x
PC Linux
: P1 (vote)
: 4.x
Assigned To: Nam Nguyen
issues@serverplugins
: API_REVIEW_FAST
Depends on:
Blocks: 52346
  Show dependency treegraph
 
Reported: 2005-01-20 07:55 UTC by Nam Nguyen
Modified: 2005-01-29 00:35 UTC (History)
4 users (show)

See Also:
Issue Type: ENHANCEMENT
:


Attachments
diff of apichanges.xml, StartServer.java, ServerInstance.java included... (5.24 KB, text/plain)
2005-01-20 09:01 UTC, Nam Nguyen
Details
update with improved implementation code, no changes in signature over the previous attachement (5.47 KB, patch)
2005-01-20 19:47 UTC, Nam Nguyen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nam Nguyen 2005-01-20 07:55:24 UTC
When server instance is configured and the changes
require a restart to take effect in next
deployment j2eeserver state manager needs to be
aware of this condition.  Hence this method addition:

StartServer {
    /**
     * Returns true if target server needs a 
     * restart for last configuration changes to 
     * take effect.
     * @param target target server; null implies 
     * the case where target is also admin server.
     */
    boolean needsRestart(Target target) {
         return false;
    }
}
Comment 1 Nam Nguyen 2005-01-20 08:13:07 UTC
Will attach the diff tomorrow.
Comment 2 Nam Nguyen 2005-01-20 09:01:28 UTC
Created attachment 19806 [details]
diff of apichanges.xml, StartServer.java, ServerInstance.java included...
Comment 3 Nam Nguyen 2005-01-20 19:47:39 UTC
Created attachment 19836 [details]
update with improved implementation code, no changes in signature over the previous attachement
Comment 4 Nam Nguyen 2005-01-21 19:25:18 UTC
Patch checked in:
/cvs/j2eeserver/apichanges.xml,v  <--  apichanges.xml
new revision: 1.9; previous revision: 1.8
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ServerInstance.java,v
 <--  ServerInstance.java
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/plugins/api/StartServer.java,v
 <--  StartServer.java
new revision: 1.6; previous revision: 1.5
Comment 5 Nam Nguyen 2005-01-29 00:35:28 UTC
Close now. Planned changes already checked in.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo