{
MainDeployerImpl main = new MainDeployerImpl();
main.setStructuralDeployers(createStructuralDeployers());
addStructureDeployer(main, new JARStructure());
MockBshDeployer bshDeployer = new MockBshDeployer();
FileStructure fileStructure = new FileStructure();
fileStructure.addFileMatcher(bshDeployer);
addStructureDeployer(main, fileStructure);
DeployersImpl deployers = new DeployersImpl(new AbstractController());
deployers.setMgtObjectCreator(new DefaultManagedObjectCreator());
deployers.addDeployer(bshDeployer);
main.setDeployers(deployers);