Interface ManagedContext

All Known Implementing Classes:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

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

      Object initialize​(Object obj)
      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.
      obj - Object to initialize
      the initialized object to use