From: Scott M S. <st...@us...> - 2002-06-30 07:53:45
|
User: starksm Date: 02/06/30 00:53:44 Modified: src/main/org/jboss/deployment DeploymentInfo.java Log: Obtain the UnifiedClassLoader from the loader repository using the newClassLoader method so that the implementation may be changed easily Revision Changes Path 1.12 +4 -2 jboss-system/src/main/org/jboss/deployment/DeploymentInfo.java Index: DeploymentInfo.java =================================================================== RCS file: /cvsroot/jboss/jboss-system/src/main/org/jboss/deployment/DeploymentInfo.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- DeploymentInfo.java 27 Jun 2002 16:02:56 -0000 1.11 +++ DeploymentInfo.java 30 Jun 2002 07:53:44 -0000 1.12 @@ -58,7 +58,7 @@ * @author <a href="mailto:dan...@te...">Daniel Schulze</a> * @author <a href="mailto:Chr...@in...">Christoph G. Jung</a> * @author <a href="mailto:sco...@jb...">Scott Stark</a> - * @version $Revision: 1.11 $ <p> + * @version $Revision: 1.12 $ <p> * * @todo implement type-safe enum for status. * @@ -215,7 +215,9 @@ } // the classes are passed to a UCL that will share the classes with the whole base - ucl = new UnifiedClassLoader(localUrl, origUrl, server, repositoryName); + Object[] args = {localUrl, origUrl, Boolean.TRUE}; + String[] sig = {"java.net.URL", "java.net.URL", "boolean"}; + ucl = (UnifiedClassLoader) server.invoke(repositoryName, "newClassLoader",args, sig); } /** The the class loader repository name of the top most DeploymentInfo |