geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "pgrey" <>
Subject method to check for existence of a module?
Date Tue, 29 May 2007 16:42:04 GMT
Is there a way to ask the Geronimo container whether or not a specific 
module (by name) is deployed.  I'd like to do something like

String moduleId = "mycom/myapp/1.0/car";
if (moduleExists(moduleId) {
} else {

Possibly the class 
org.apache.geronimo.kernel.repository.DefaultArtifactResolver will provide 
this functionality, but I have fiddled with it a bit and it doesn't seem 
immediately apparent exactly how to use it.

Thanks all...

View raw message