Package tigase.server
Class ConnectionManager.PortsConfigBean
java.lang.Object
tigase.server.ConnectionManager.PortsConfigBean
- All Implemented Interfaces:
Initializable,RegistrarBean,RegistrarBeanWithDefaultBeanClass
- Enclosing class:
ConnectionManager<IO extends XMPPIOService<?>>
@Bean(name="connections",
parent=ConnectionManager.class,
active=true,
exportable=true)
public static class ConnectionManager.PortsConfigBean
extends Object
implements RegistrarBeanWithDefaultBeanClass, Initializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<?> Returns default class for all bean which are defined using configuration as subbeans of bean implementing this interface.voidMethod will be called, when bean will be created, configured and ready to use.voidMethod called when bean is being registered allowing developer to programatically register other beans.voidstart()voidstop()voidunregister(Kernel kernel) Method called while bean is being unregistered.
-
Constructor Details
-
PortsConfigBean
public PortsConfigBean()
-
-
Method Details
-
getPortsBeans
-
getDefaultBeanClass
Description copied from interface:RegistrarBeanWithDefaultBeanClassReturns 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:
getDefaultBeanClassin interfaceRegistrarBeanWithDefaultBeanClass
-
register
Description copied from interface:RegistrarBeanMethod called when bean is being registered allowing developer to programatically register other beans.- Specified by:
registerin interfaceRegistrarBean- Parameters:
kernel- - instance from local scope
-
unregister
Description copied from interface:RegistrarBeanMethod called while bean is being unregistered.- Specified by:
unregisterin interfaceRegistrarBean- Parameters:
kernel- - instance from local scope
-
initialize
public void initialize()Description copied from interface:InitializableMethod will be called, when bean will be created, configured and ready to use.- Specified by:
initializein interfaceInitializable
-
start
public void start() -
stop
public void stop()
-