URL url = _extraClasspath.toURL();
_extraLoader = new URLClassLoader(new URL[]
{url}, _contextLoader);
RegistryBuilder builder = new RegistryBuilder(_extraLoader);
builder.add(TapestryModule.class);
SymbolProvider provider = new SingleKeySymbolProvider(
InternalConstants.TAPESTRY_ALIAS_MODE_SYMBOL, "servlet");
ContributionDef contribution = new SyntheticSymbolSourceContributionDef("AliasMode",
provider, "before:ApplicationDefaults");
ModuleDef module = new SyntheticModuleDef(contribution);
builder.add(module);
_registry = builder.build();
// _registry.getService("Alias", Alias.class).setMode("servlet");
_source = _registry.getService(ComponentInstantiatorSource.class);
_access = _registry.getService(PropertyAccess.class);