App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | Static Public Attributes | List of all members
google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory Class Reference
Inheritance diagram for google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory:
google.appengine.tools.devappserver2.instance.InstanceFactory

Public Member Functions

def __init__
 
def get_restart_directories
 
def files_changed
 
def configuration_changed
 
def new_instance
 
- Public Member Functions inherited from google.appengine.tools.devappserver2.instance.InstanceFactory
def __init__
 
def get_restart_directories
 
def files_changed
 
def configuration_changed
 
def new_instance
 

Static Public Attributes

tuple START_URL_MAP
 
tuple WARMUP_URL_MAP
 
 FILE_CHANGE_INSTANCE_RESTART_POLICY = instance.ALWAYS
 
- Static Public Attributes inherited from google.appengine.tools.devappserver2.instance.InstanceFactory
 START_URL_MAP = None
 
 WARMUP_URL_MAP = None
 
 SUPPORTS_INTERACTIVE_REQUESTS = False
 
 FILE_CHANGE_INSTANCE_RESTART_POLICY = None
 

Additional Inherited Members

- Public Attributes inherited from google.appengine.tools.devappserver2.instance.InstanceFactory
 request_data
 
 max_concurrent_requests
 
 max_background_threads
 

Detailed Description

A factory that creates new Java runtime Instances.

Constructor & Destructor Documentation

def google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.__init__ (   self,
  request_data,
  runtime_config_getter,
  module_configuration 
)
Initializer for JavaRuntimeInstanceFactory.

Args:
  request_data: A wsgi_request_info.WSGIRequestInfo that will be provided
  with request information for use by API stubs.
  runtime_config_getter: A function that can be called without arguments
  and returns the runtime_config_pb2.RuntimeConfig containing the
  configuration for the runtime.
  module_configuration: An application_configuration.ModuleConfiguration
  instance respresenting the configuration of the module that owns the
  runtime.

Member Function Documentation

def google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.configuration_changed (   self,
  config_changes 
)
Called when the configuration of the module has changed.

Args:
  config_changes: A set containing the changes that occured. See the
  *_CHANGED constants in the application_configuration module.
def google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.files_changed (   self)
Called when a file relevant to the factory *might* have changed.
def google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.get_restart_directories (   self)
Returns a list of directories where changes trigger a restart.

Returns:
  A list of directories where changes trigger a restart.
def google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.new_instance (   self,
  instance_id,
  expect_ready_request = False 
)
Create and return a new Instance.

Args:
  instance_id: A string or integer representing the unique (per module) id
  of the instance.
  expect_ready_request: If True then the instance will be sent a special
  request (i.e. /_ah/warmup or /_ah/start) before it can handle external
  requests.

Returns:
  The newly created instance.Instance.

Member Data Documentation

tuple google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.START_URL_MAP
static
Initial value:
1 = appinfo.URLMap(
2  url='/_ah/start',
3  script='_java_app',
4  login='admin')
tuple google.appengine.tools.devappserver2.java_runtime.JavaRuntimeInstanceFactory.WARMUP_URL_MAP
static
Initial value:
1 = appinfo.URLMap(
2  url='/_ah/warmup',
3  script='_java_app',
4  login='admin')

The documentation for this class was generated from the following file: