System.setProperty(com.sun.enterprise.glassfish.bootstrap.Constants.INSTANCE_ROOT_URI_PROP_NAME, instanceRoot.toURI().toString());
}
}
protected GlassFish createGlassFish(ModuleStartup gfKernel, ServiceLocator habitat, Properties gfProps) throws GlassFishException {
GlassFish gf = new GlassFishImpl(gfKernel, habitat, gfProps);
return new EmbeddedOSGiGlassFishImpl(gf, getBundleContext());
}