Doh, sorry, guess some javadoc would help :)... So basically the idea is to be able to represent a deployable object, that can be either a jar, or some custom structure specific to a given IDE/build environemnt. public interface DeployableModule { /** * uri of the module, foo.ear, if a nested module then foo.ear/foo.war */ String getURI(); /** * root url of the module, if isBinary then would return absolute URL of the archive, otherwise * the root folder of the module. * @return */ URL getRoot(); /** * returns all the URLs that provide content to this module (non .class files) if isBinary then this would return * empty array * @return */ URL[] getResourceFolders(); /** * returns all the URLs that contai, if isBinary then this would return an empty array * @return */ URL[] getClassesFolders(); /** * Returns true if this is a binary module (JarFile) */ boolean isBinary(); /** * returns nested modules, so for an ear file, would return all its contained modules, for a web module, entries web-inf/lib entries */ DeployableModule[] getModules(); } On Aug 21, 2006, at 3:57 PM, Dain Sundstrom wrote:
-sachin |
- GERONIMO-1526 Sachin Patel
- Re: GERONIMO-1526 Jason Dillon
- Re: GERONIMO-1526 Sachin Patel
- Re: GERONIMO-1526 Jason Dillon
- Re: GERONIMO-1526 Dain Sundstrom
- Re: GERONIMO-1526 Sachin Patel
- Re: GERONIMO-1526 Jason Dillon
- Re: GERONIMO-1526 Dain Sundstrom
- Re: GERONIMO-1526 Jason Dillon
- Re: GERONIMO-1526 Dain Sundstrom
- Re: GERONIMO-1526 Jason Dillon
- Re: GERONIMO-1526 Sachin Patel
- Re: GERONIMO-1526 Dain Sundstrom
- Re: GERONIMO-1526 Sachin Patel
- Re: GERONIMO-1526 Sachin Patel
- Re: GERONIMO-1526 Jacek Laskowski
