File movedBucketsLocation = createDirectoryInParent(tempDirectory,
ArchiverEndToEndTest.class.getName() + "-safeBuckets");
IndexPreservingBucketMover bucketMover = IndexPreservingBucketMover
.create(movedBucketsLocation);
BucketLocker bucketLocker = new BucketLockerInTestDir(
createDirectoryInParent(tempDirectory, "bucketlocks"));
ShuttlServerMBean serverMBean = ShuttlServer.getMBeanProxy();
ArchiveRestHandler archiveRestHandler = new ArchiveRestHandler(
new DefaultHttpClient(), serverMBean);