// a chicken/egg thing here as MockDeploymentScope requires the instance
// currently under construction, and DeploymentScope is @Deprecated anyway
// in favor of a pluggable resolver architecture, so this is a stop-gap
if (scope == null)
{
EjbReferenceResolver resolver = new FirstMatchEjbReferenceResolver();
this.deploymentScope = new MockDeploymentScope(this, du, resolver);
}
PoolFactoryRegistry poolRegistry = new PoolFactoryRegistry();
HashMap<String, Class<? extends PoolFactory>> poolFactories = new HashMap<String, Class<? extends PoolFactory>>();