? .nbintdb Index: apichanges.xml =================================================================== RCS file: /cvs/j2eeserver/apichanges.xml,v retrieving revision 1.5 diff -u -b -r1.5 apichanges.xml --- apichanges.xml 3 Jan 2005 20:27:38 -0000 1.5 +++ apichanges.xml 10 Jan 2005 14:02:30 -0000 @@ -240,6 +240,23 @@ + + + StartServer methods call to manage states for target server instances + + + + + +

+ J2eeserver should be able to start target managed server instances + which are not identical with admin server instance. + Methods supportsStartTarget, isRunning, startTarget, stopTarget + are added as optional to StartServer abstract class plugin SPI. +

+
+ +
Index: src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java =================================================================== RCS file: /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java,v retrieving revision 1.1 diff -u -b -r1.1 DDFilesListener.java --- src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java 24 Dec 2004 01:47:42 -0000 1.1 +++ src/org/netbeans/modules/j2ee/deployment/config/DDFilesListener.java 10 Jan 2005 14:02:30 -0000 @@ -48,7 +48,7 @@ for (int i=0; iProgressObject. This should be + * overwritten by plugins which support the state management of + * different target servers. + * @param target a non-null target server to be started + * @return a ProgressObject which is used to communicate the + * progess/state of this action. Should not be null when supportsStartTarget + * returns true on same target. + */ + public ProgressObject startTarget(Target target) { + return null; + } + + /** + * Stops the target server asynchronously and reports the status + * through the returned ProgressObject. This should be + * overwritten by plugins which support the state management of + * different target servers. + * @param target a non-null target server to be stopped + * @return a ProgressObject which is used to communicate the + * progess/state of this action. Should not be null when supportsStartTarget + * return true on the same target. + */ + public ProgressObject stopTarget(Target target) { + return null; + } + /** * Start or restart the target in debug mode. * If target is also domain admin, the amdin is restarted in debug mode.