PSP.PSPServletFactory = class PSPServletFactory(WebKit.ServletFactory.ServletFactory)
`` | `Servlet Factory for PSP files.`

Method resolution order:
  PSPServletFactory
  WebKit.ServletFactory.ServletFactory
  __builtin__.object

Methods defined here:

__init__(self, application)

clearFileCache(self)
  `Clear class files stored on disk.`

computeClassName(self, pagename)
  `Generates a (hopefully) unique class/file name for each PSP file.
  Argument: pagename: the path to the PSP source file
  Returns: a unique name for the class generated fom this PSP source file`

extensions(self)

fileEncoding(self)
  `Return the file encoding used in PSP files.`

flushCache(self)
  `Clean out the cache of classes in memory and on disk.`

loadClass(self, transaction, path)

loadClassFromFile(self, transaction, filename, classname)
  `Create an actual class instance.
  The module containing the class is imported as though it were a
  module within the context's package (and appropriate subpackages).`

uniqueness(self)

Methods inherited from WebKit.ServletFactory.ServletFactory:

importAsPackage(self, transaction, serverSidePathToImport)
  `Import requested module.
  Imports the module at the given path in the proper package/subpackage
  for the current request. For example, if the transaction has the URL
  http://localhost/WebKit.cgi/MyContextDirectory/MySubdirectory/MyPage
  and path = 'some/random/path/MyModule.py' and the context is configured
  to have the name 'MyContext' then this function imports the module at
  that path as MyContext.MySubdirectory.MyModule . Note that the context
  name may differ from the name of the directory containing the context,
  even though they are usually the same by convention.
  Note that the module imported may have a different name from the
  servlet name specified in the URL. This is used in PSP.`

name(self)
  `Return the name of the factory.
  This is a convenience for the class name.`

returnServlet(self, servlet)
  `Return servlet to the pool.
  Called by Servlet.close(), which returns the servlet
  to the servlet pool if necessary.`

servletForTransaction(self, transaction)
  `Return a new servlet that will handle the transaction.
  This method handles caching, and will call loadClass(trans, filepath)
  if no cache is found. Caching is generally controlled by servlets
  with the canBeReused() and canBeThreaded() methods.`

Data descriptors inherited from WebKit.ServletFactory.ServletFactory:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`