Class AbstractComponent<ConfT extends ComponentConfiguration>

  • All Implemented Interfaces:
    java.lang.AutoCloseable
    Direct Known Subclasses:
    AbstractLifecycleComponent

    public abstract class AbstractComponent<ConfT extends ComponentConfiguration>
    extends java.lang.Object
    implements java.lang.AutoCloseable
    The base class represents a component.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String componentName  
      protected ConfT conf  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractComponent​(java.lang.String name, ConfT conf)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConfT getConf()  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Constructor Detail

      • AbstractComponent

        protected AbstractComponent​(java.lang.String name,
                                    ConfT conf)
    • Method Detail

      • getConf

        public ConfT getConf()
      • getName

        public java.lang.String getName()