private ObjectReference containerRef = new SimpleReference();
private ObjectReference parentContainerRef = new SimpleReference();
protected PicoContainer buildContainer(Reader script) {
ScriptedContainerBuilder builder = new XStreamContainerBuilder(script,
getClass().getClassLoader());
parentContainerRef.set(null);
builder.buildContainer(containerRef, parentContainerRef, "SOME_SCOPE", true);
return (PicoContainer) containerRef.get();
}