Class DSTestWiring.Component<T>

  • Enclosing class:
    DSTestWiring

    public class DSTestWiring.Component<T>
    extends java.lang.Object
    A representation of a component.
    • Field Detail

      • type

        java.lang.Class<T> type
      • instance

        T instance
      • properties

        java.util.Map<java.lang.String,​java.lang.Object> properties
      • wiring

        boolean wiring
      • activate

        java.lang.reflect.Method activate
      • deactivate

        java.lang.reflect.Method deactivate
    • Constructor Detail

      • Component

        public Component()
    • Method Detail

      • wire

        T wire​(java.util.List<DSTestWiring.Component<?>> ordered)
        throws java.lang.Exception
        Throws:
        java.lang.Exception
      • doReferences

        private void doReferences​(java.net.URL url)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
      • findMethod

        private java.lang.reflect.Method findMethod​(java.lang.String group)
      • index

        void index​(java.lang.Class<?> c)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object