springpython.context
index
/home/springpython/se-springpython-py/tags/springpython-1.0.0.GA/src/springpython/context/__init__.py

Copyright 2006-2008 SpringSource (http://springsource.com), All Rights Reserved
 
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
 
    http://www.apache.org/licenses/LICENSE-2.0
 
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

 
Package Contents
       
scope

 
Classes
       
__builtin__.object
ApplicationContextAware
ObjectNameAutoProxyCreator(ApplicationContextAware, ObjectPostProcessor)
ObjectPostProcessor
springpython.container.ObjectContainer(__builtin__.object)
ApplicationContext

 
class ApplicationContext(springpython.container.ObjectContainer)
    ApplicationContext IS a ObjectContainer. It also has the ability to define the lifecycle of
objects.
 
 
Method resolution order:
ApplicationContext
springpython.container.ObjectContainer
__builtin__.object

Methods defined here:
__init__(self, config=None)

Methods inherited from springpython.container.ObjectContainer:
get_object(self, name)
This function attempts to find the object in the singleton cache. If not found, 
delegates to _create_object in order to hunt for the definition, and request a
object factory to generate one.

Data and other attributes inherited from springpython.container.ObjectContainer:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'ObjectContainer' objects>
list of weak references to the object (if defined)

 
class ApplicationContextAware(__builtin__.object)
     Methods defined here:
__init__(self)
set_app_context(self, app_context)

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'ApplicationContextAware' objects>
list of weak references to the object (if defined)

 
class ObjectNameAutoProxyCreator(ApplicationContextAware, ObjectPostProcessor)
    This object will iterate over a list of objects, and automatically apply
a list of advisors to every callable method. This is useful when default advice
needs to be applied widely with minimal configuration.
 
 
Method resolution order:
ObjectNameAutoProxyCreator
ApplicationContextAware
ObjectPostProcessor
__builtin__.object

Methods defined here:
__init__(self, objectNames=[], interceptorNames=[])

Methods inherited from ApplicationContextAware:
set_app_context(self, app_context)

Data and other attributes inherited from ApplicationContextAware:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'ApplicationContextAware' objects>
list of weak references to the object (if defined)

Methods inherited from ObjectPostProcessor:
post_process_after_initialization(self, obj, obj_name)
post_process_before_initialization(self, obj, obj_name)

 
class ObjectPostProcessor(__builtin__.object)
     Methods defined here:
post_process_after_initialization(self, obj, obj_name)
post_process_before_initialization(self, obj, obj_name)

Data and other attributes defined here:
__dict__ = <dictproxy object>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'ObjectPostProcessor' objects>
list of weak references to the object (if defined)