Class ClassInjections


  • public class ClassInjections
    extends java.lang.Object
    Class injections.
    Author:
    Daniel Sagenschneider
    • Constructor Summary

      Constructors 
      Constructor Description
      ClassInjections​(java.lang.Class<?> objectClass, SourceContext sourceContext)
      Instantiate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.reflect.Field> getInjectionFields()
      Obtains the Field instances for injection.
      java.util.List<java.lang.reflect.Method> getInjectionMethods()
      Obtains the Method instances for injection.
      java.util.List<java.lang.reflect.Method> getPostConstructMethods()
      Obtains the post construct Method instances.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClassInjections

        public ClassInjections​(java.lang.Class<?> objectClass,
                               SourceContext sourceContext)
                        throws java.lang.Exception
        Instantiate.
        Parameters:
        objectClass - Object Class.
        sourceContext - SourceContext.
        Throws:
        java.lang.Exception - If fails to load injections.
    • Method Detail

      • getInjectionFields

        public java.util.List<java.lang.reflect.Field> getInjectionFields()
        Obtains the Field instances for injection.
        Returns:
        Field instances for injection.
      • getInjectionMethods

        public java.util.List<java.lang.reflect.Method> getInjectionMethods()
        Obtains the Method instances for injection.
        Returns:
        Method instances for injection.
      • getPostConstructMethods

        public java.util.List<java.lang.reflect.Method> getPostConstructMethods()
        Obtains the post construct Method instances.
        Returns:
        Post construct Method instances.