@Bean(name="connections", parent=ConnectionManager.class, active=true, exportable=true) public static class ConnectionManager.PortsConfigBean extends Object implements RegistrarBeanWithDefaultBeanClass, Initializable
Constructor and Description |
---|
PortsConfigBean() |
Modifier and Type | Method and Description |
---|---|
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.
|
public Class<?> getDefaultBeanClass()
RegistrarBeanWithDefaultBeanClass
getDefaultBeanClass
in interface RegistrarBeanWithDefaultBeanClass
public void register(Kernel kernel)
RegistrarBean
register
in interface RegistrarBean
kernel
- - instance from local scopepublic void unregister(Kernel kernel)
RegistrarBean
unregister
in interface RegistrarBean
kernel
- - instance from local scopepublic void initialize()
Initializable
initialize
in interface Initializable
public void start()
public void stop()
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.