Package tigase.server

Class ConnectionManager.PortsConfigBean

    • Constructor Summary

      Constructors 
      Constructor Description
      PortsConfigBean()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getDefaultBeanClass()
      Returns default class for all bean which are defined using configuration as subbeans of bean implementing this interface.
      void initialize()
      Method will be called, when bean will be created, configured and ready to use.
      void register​(Kernel kernel)
      Method called when bean is being registered allowing developer to programatically register other beans.
      void start()  
      void stop()  
      void unregister​(Kernel kernel)
      Method called while bean is being unregistered.
      • Methods inherited from class java.lang.Object

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

      • PortsConfigBean

        public PortsConfigBean()
    • Method Detail

      • getDefaultBeanClass

        public java.lang.Class<?> getDefaultBeanClass()
        Description copied from interface: RegistrarBeanWithDefaultBeanClass
        Returns default class for all bean which are defined using configuration as subbeans of bean implementing this interface. This allows users to have more convenient configuration file without the need to specify class for each of subbbeans if most of them will have the same class.
        Specified by:
        getDefaultBeanClass in interface RegistrarBeanWithDefaultBeanClass
      • register

        public void register​(Kernel kernel)
        Description copied from interface: RegistrarBean
        Method called when bean is being registered allowing developer to programatically register other beans.
        Specified by:
        register in interface RegistrarBean
        Parameters:
        kernel - - instance from local scope
      • unregister

        public void unregister​(Kernel kernel)
        Description copied from interface: RegistrarBean
        Method called while bean is being unregistered.
        Specified by:
        unregister in interface RegistrarBean
        Parameters:
        kernel - - instance from local scope
      • initialize

        public void initialize()
        Description copied from interface: Initializable
        Method will be called, when bean will be created, configured and ready to use.
        Specified by:
        initialize in interface Initializable
      • start

        public void start()
      • stop

        public void stop()