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
-
Method Summary
Modifier and TypeMethodDescriptionClass<?>
Returns default class for all bean which are defined using configuration as subbeans of bean implementing this interface.void
Method will be called, when bean will be created, configured and ready to use.void
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.
-
Constructor Details
-
PortsConfigBean
public PortsConfigBean()
-
-
Method Details
-
getPortsBeans
-
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 interfaceRegistrarBeanWithDefaultBeanClass
-
register
Description copied from interface:RegistrarBean
Method called when bean is being registered allowing developer to programatically register other beans.- Specified by:
register
in interfaceRegistrarBean
- Parameters:
kernel
- - instance from local scope
-
unregister
Description copied from interface:RegistrarBean
Method called while bean is being unregistered.- Specified by:
unregister
in interfaceRegistrarBean
- 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 interfaceInitializable
-
start
public void start() -
stop
public void stop()
-