User: cgjung
Date: 01/05/25 05:05:09
Modified: src/main/org/jboss/deployment/scope
ScopedURLClassLoader.java
Log:
onUndeploy my throw a J2eeDeploymentException if some last actions
upon the classloader fail.
Revision Changes Path
1.5 +5 -2
jboss/src/main/org/jboss/deployment/scope/ScopedURLClassLoader.java
Index: ScopedURLClassLoader.java
===================================================================
RCS file:
/cvsroot/jboss/jboss/src/main/org/jboss/deployment/scope/ScopedURLClassLoader.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ScopedURLClassLoader.java 2001/05/25 09:21:28 1.4
+++ ScopedURLClassLoader.java 2001/05/25 12:05:09 1.5
@@ -8,6 +8,7 @@
package org.jboss.deployment.scope;
import org.jboss.deployment.Deployment;
+import org.jboss.deployment.J2eeDeploymentException;
import java.net.URL;
import java.net.URLClassLoader;
@@ -103,8 +104,10 @@
return result;
}
- /** what happens on undeploy, could be overridden to tear down meta-data and
such */
- protected void onUndeploy() {
+ /** what happens on undeploy, could be overridden to tear down meta-data and
such
+ * @throws J2eeDeploymentException if this last stage of undeployment fails
for some reason
+ */
+ protected void onUndeploy() throws J2eeDeploymentException {
// nothing
}
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development