Package com.hazelcast.core
Interface ManagedContext
- All Known Implementing Classes:
SpringManagedContext
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ManagedContext
Container managed context, such as Spring, Guice and etc.
-
Method Summary
Modifier and Type Method Description Object
initialize(Object obj)
Initialize the given object instance.
-
Method Details
-
initialize
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.- Parameters:
obj
- Object to initialize- Returns:
- the initialized object to use
-