Class Dependency

    • Field Detail

      • key

        protected final Object key
        The key of the corresponding component
      • bindType

        protected final Class<?> bindType
        The bind type
    • Constructor Detail

      • Dependency

        public Dependency​(Object key,
                          Class<?> bindType)
      • Dependency

        public Dependency​(Object key,
                          Class<?> bindType,
                          boolean lazy)
    • Method Detail

      • getKey

        public Object getKey()
        Returns:
        the key
      • getBindType

        public Class<?> getBindType()
        Returns:
        the bindType
      • isLazy

        public boolean isLazy()
        Returns:
        the lazy
      • load

        protected abstract Object load​(org.exoplatform.container.ExoContainer holder)
        Loads a given dependency from the provided ExoContainer
      • getAdapter

        protected abstract org.exoplatform.container.spi.ComponentAdapter<?> getAdapter​(org.exoplatform.container.ExoContainer holder)
        Gives the ComponentAdapter corresponding to this dependency