public static class ConnectionManager.PortConfigBean extends Object implements ConfigurationChangedAware, Initializable, UnregisterAware
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
ifc |
protected long |
newConnectionsThrottling |
protected SocketType |
socket |
protected ConnectionType |
type |
| Constructor and Description |
|---|
PortConfigBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
beanConfigurationChanged(Collection<String> changedFields)
Method called when configuration was applied to bean.
|
void |
beforeUnregister()
Method called before bean unregister.
|
protected Map<String,Object> |
getProps() |
void |
initialize()
Method will be called, when bean will be created, configured and ready to use.
|
@ConfigField(desc="Interface to listen on") protected String[] ifc
@ConfigField(desc="New connections throttling", alias="new-connections-throttling") protected long newConnectionsThrottling
@ConfigField(desc="Socket type") protected SocketType socket
@ConfigField(desc="Port type") protected ConnectionType type
public void beanConfigurationChanged(Collection<String> changedFields)
ConfigurationChangedAwarebeanConfigurationChanged in interface ConfigurationChangedAwarechangedFields - collection of field names which were changedpublic void beforeUnregister()
UnregisterAwarebeforeUnregister in interface UnregisterAwarepublic void initialize()
Initializableinitialize in interface InitializableCopyright © 2004–2020 "Tigase, Inc.". All rights reserved.