* @return an ObjectReference holding a PicoContainer with the deployed components
* @throws org.apache.commons.vfs.FileSystemException if the file structure was bad.
* @throws org.nanocontainer.integrationkit.PicoCompositionException if the deployment failed for some reason.
*/
public ObjectReference deploy(FileObject applicationFolder, ClassLoader parentClassLoader, ObjectReference parentContainerRef) throws FileSystemException, ClassNotFoundException {
ClassLoader applicationClassLoader = new VFSClassLoader(applicationFolder, fileSystemManager, parentClassLoader);
FileObject deploymentScript = getDeploymentScript(applicationFolder);
ObjectReference result = new SimpleReference();