Package tigase.server

Class ConnectionManager.PortsConfigBean

    • Constructor Detail

      • PortsConfigBean

        public PortsConfigBean()
    • Method Detail

      • getDefaultBeanClass

        public 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
        Returns:
      • 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()