Class InjectContextFactory


  • public class InjectContextFactory
    extends java.lang.Object
    Factory for the InjectContext.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • injectDependencies

        public <T> T injectDependencies​(T object)
                                 throws java.lang.IllegalArgumentException,
                                        java.lang.IllegalAccessException
        Injects the dependencies onto the Object.
        Parameters:
        object - Object to receive dependencies.
        Returns:
        Input Object to allow easy factory creation.
        Throws:
        java.lang.IllegalArgumentException - If failure to inject.
        java.lang.IllegalAccessException - If failure to inject.