* @param archive Location of archive.
*/
@Override
public void process(Location archive) throws Exception {
InMemoryConfigurator inMemoryConfigurator = new InMemoryConfigurator(id, archive);
ListenableFuture<ConfigResponse> result = inMemoryConfigurator.config();
//TODO: Check with Terence on how to handle this stuff.
ConfigResponse response = result.get(120, TimeUnit.SECONDS);
ApplicationSpecification specification = adapter.fromJson(response.get());
if (appId != null) {
specification = new ForwardingApplicationSpecification(specification) {