Class AbstractHandlerContainer

    • Constructor Detail

      • AbstractHandlerContainer

        public AbstractHandlerContainer()
    • Method Detail

      • getChildHandlersByClass

        public Handler[] getChildHandlersByClass​(java.lang.Class<?> byclass)
        Specified by:
        getChildHandlersByClass in interface HandlerContainer
        Parameters:
        byclass - the child handler class to get
        Returns:
        array of all handlers contained by this handler and it's children of the passed type.
      • getChildHandlerByClass

        public <T extends Handler> T getChildHandlerByClass​(java.lang.Class<T> byclass)
        Specified by:
        getChildHandlerByClass in interface HandlerContainer
        Type Parameters:
        T - the type of handler
        Parameters:
        byclass - the child handler class to get
        Returns:
        first handler of all handlers contained by this handler and it's children of the passed type.
      • expandChildren

        protected void expandChildren​(java.util.List<Handler> list,
                                      java.lang.Class<?> byClass)
      • expandHandler

        protected void expandHandler​(Handler handler,
                                     java.util.List<Handler> list,
                                     java.lang.Class<?> byClass)