Package tigase.server
Class ConnectionManager.PortConfigBean
java.lang.Object
tigase.server.ConnectionManager.PortConfigBean
- All Implemented Interfaces:
ConfigurationChangedAware
,Initializable
,UnregisterAware
- Direct Known Subclasses:
ConnectionManager.SecPortConfigBean
- Enclosing class:
- ConnectionManager<IO extends XMPPIOService<?>>
public static class ConnectionManager.PortConfigBean
extends Object
implements ConfigurationChangedAware, Initializable, UnregisterAware
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
protected long
protected SocketType
protected ConnectionType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
beanConfigurationChanged
(Collection<String> changedFields) Method called when configuration was applied to bean.void
Method called before bean unregister.int
getPort()
getProps()
void
Method will be called, when bean will be created, configured and ready to use.boolean
isSecure()
-
Field Details
-
ifc
-
newConnectionsThrottling
@ConfigField(desc="New connections throttling", alias="new-connections-throttling") protected long newConnectionsThrottling -
socket
-
type
-
-
Constructor Details
-
PortConfigBean
public PortConfigBean()
-
-
Method Details
-
getPort
public int getPort() -
isSecure
public boolean isSecure() -
beanConfigurationChanged
Description copied from interface:ConfigurationChangedAware
Method called when configuration was applied to bean.- Specified by:
beanConfigurationChanged
in interfaceConfigurationChangedAware
- Parameters:
changedFields
- collection of field names which were changed
-
beforeUnregister
public void beforeUnregister()Description copied from interface:UnregisterAware
Method called before bean unregister.- Specified by:
beforeUnregister
in interfaceUnregisterAware
-
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
-
getProps
-