com.hazelcast.spring.context
Class SpringManagedContext

java.lang.Object
  extended by com.hazelcast.spring.context.SpringManagedContext
All Implemented Interfaces:
ManagedContext

public class SpringManagedContext
extends Object
implements ManagedContext


Constructor Summary
SpringManagedContext()
           
 
Method Summary
 Object initialize(Object obj)
          Initialize the given object instance.
 void setApplicationContext(ApplicationContext applicationContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringManagedContext

public SpringManagedContext()
Method Detail

initialize

public Object initialize(Object obj)
Description copied from interface: ManagedContext
Initialize the given object instance. This is intended for repopulating select fields and methods for deserialized instances. It is also possible to proxy the object, e.g. with AOP proxies.

Specified by:
initialize in interface ManagedContext
Parameters:
obj - Object to initialize
Returns:
the initialized object to use

setApplicationContext

public void setApplicationContext(ApplicationContext applicationContext)
                           throws BeansException
Throws:
BeansException


Copyright .0; 2008-2011 Hazel Ltd. All Rights Reserved.