[Subversion] / PEAK / CHANGES.txt  

Diff of /PEAK/CHANGES.txt

Parent Directory | Revision Log

version 1577, Sun Dec 28 20:58:28 2003 UTC version 1582, Sat Jan 3 00:36:27 2004 UTC
Line 2 
Line 2 
   
  Changed, Enhanced, or Newly Deprecated Features   Changed, Enhanced, or Newly Deprecated Features
   
    - "Global" services defined by '[Component Factories]' sections now live in
      the closest "service area" to the component that requests them.  A "service
      area" is a parent component that implements 'config.IServiceArea', such as
      a configuration root returned by 'config.makeRoot()'.  Applications loaded
      by the 'peak runIni' command are now created in their own service area,
      which means that settings in the .ini file being run will apply to services
      the application uses.  (Because the application will have its own,
      application-specific service instances, and they will use the configuration
      loaded into the service area.)
   
      If you need to create your own service area, you can do so by mixing in
      'config.ServiceArea' to your component class.  However, you should *not* do
      this unless you know exactly what "outside" services you may need to use
      from "inside" the newly created service area, so that you can explicitly
      connect them "into" the service area.  (In short, if you don't know *why*
      you're creating a service area, don't do it.)
   
  - 'config.Namespace()' objects now have a 'keys()' method that can be used   - 'config.Namespace()' objects now have a 'keys()' method that can be used
    when the namespace is bound to a context component.  It returns a list of     when the namespace is bound to a context component.  It returns a list of
    strings that may be used as keys for that namespace.  Example usage::     strings that may be used as keys for that namespace.  Example usage::


Generate output suitable for use with a patch program
Legend:
Removed from v.1577  
changed lines
  Added in v.1582

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help