Interface PostInitializer<I>

Type Parameters:
I - the type of contextual instance

public interface PostInitializer<I>
An interface whose implementations complete initialization of contextual instances.

PostInitializers are typically applied to initialized instances, i.e. contextual instances that have been fully injected.

PostInitializers are typically used in implementations of the Factory.create(Request) method, together with InterceptionsApplicators, Initializers and Producers.

Author:
Laird Nelson
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Completes the initialization of a contextual instance and returns the result.
  • Method Details

    • postInitialize

      Completes the initialization of a contextual instance and returns the result.
      Parameters:
      i - an initialized contextual instance; must not be null
      r - a Request; must not be null
      Returns:
      a contextual instance that has been completely initialized; never null
      Throws:
      NullPointerException - if either argument is null