1.9.5
[gae.git] / java / src / main / com / google / appengine / tools / development / BackendContainer.java
blobc0458da69fe5adfcbec726281cd2ebb1961c9a48
1 // Copyright 2011 Google Inc. All Rights Reserved.
3 package com.google.appengine.tools.development;
5 import com.google.appengine.tools.development.ApplicationConfigurationManager.ModuleConfigurationHandle;
7 import java.io.File;
8 import java.util.Map;
10 /**
11 * Interface to backend instances
13 public interface BackendContainer {
15 public void setServiceProperties(Map<String, String> properties);
17 /**
18 * Shutdown all backend instances.
20 * @throws Exception
22 public void shutdownAll() throws Exception;
24 /**
25 * Start all backend instances.
27 * @param backendsXml Parsed backends.xml file with servers configuration
28 * @throws Exception
30 public void startupAll() throws Exception;
32 public void init(String address, final ModuleConfigurationHandle moduleConfigurationHandle,
33 File externalResourceDirectory, Map<String, Object> containerConfigProperties,
34 DevAppServer devAppServer);