public synchronized J2eePlatformImpl getJ2eePlatformImpl(DeploymentManager dm)
{
assert (dm instanceof GeronimoDeploymentManager) :
"dm must be an instance of net.sourceforge.nbgeronimo.GeronimoDeploymentManager" ;
GeronimoDeploymentManager gdm =
(GeronimoDeploymentManager)dm ;
GeronimoJ2eePlatformImpl platformImpl = instanceCache.get(gdm) ;
if(platformImpl == null)
{