public class DummyNetworkListener extends Object implements NetworkListener
NetworkListener.DuckDEFAULT_ADDRESS, DEFAULT_CONFIGURATION_FILE, DEFAULT_TYPE, ENABLED, JK_ENABLED, TYPE_PATTERN| Constructor and Description |
|---|
DummyNetworkListener() |
| Modifier and Type | Method and Description |
|---|---|
org.jvnet.hk2.config.types.Property |
addProperty(org.jvnet.hk2.config.types.Property property) |
<T extends org.jvnet.hk2.config.ConfigBeanProxy> |
createChild(Class<T> type) |
org.jvnet.hk2.config.ConfigBeanProxy |
deepCopy(org.jvnet.hk2.config.ConfigBeanProxy parent) |
Protocol |
findHttpProtocol() |
String |
findHttpProtocolName() |
Protocol |
findProtocol() |
ThreadPool |
findThreadPool() |
Transport |
findTransport() |
String |
getAddress()
IP address to listen on
|
String |
getEnabled()
If false, a configured listener, is disabled
|
String |
getJkConfigurationFile() |
String |
getJkEnabled()
If true, a jk listener is enabled
|
String |
getName()
Network-listener name, which could be used as reference
|
NetworkListeners |
getParent() |
<T extends org.jvnet.hk2.config.ConfigBeanProxy> |
getParent(Class<T> c) |
String |
getPort()
Port to listen on
|
List<org.jvnet.hk2.config.types.Property> |
getProperty() |
org.jvnet.hk2.config.types.Property |
getProperty(String name) |
String |
getPropertyValue(String name) |
String |
getPropertyValue(String name,
String defaultValue) |
String |
getProtocol()
Reference to a protocol
|
String |
getThreadPool()
Reference to a thread-pool, defined earlier in the document.
|
String |
getTransport()
Reference to a low-level transport
|
String |
getType()
Network-listener name, which could be used as reference
|
void |
injectedInto(Object target) |
org.jvnet.hk2.config.types.Property |
lookupProperty(String s) |
org.jvnet.hk2.config.types.Property |
removeProperty(org.jvnet.hk2.config.types.Property property) |
org.jvnet.hk2.config.types.Property |
removeProperty(String s) |
void |
setAddress(String value) |
void |
setEnabled(String enabled) |
void |
setJkConfigurationFile(String jkConfigurationFile) |
void |
setJkEnabled(String value) |
void |
setName(String value) |
void |
setPort(String value) |
void |
setProtocol(String value) |
void |
setThreadPool(String value) |
void |
setTransport(String value) |
void |
setType(String type) |
public String getType()
NetworkListenergetType in interface NetworkListenerpublic void setType(String type)
setType in interface NetworkListenerpublic String getAddress()
NetworkListenergetAddress in interface NetworkListenerpublic void setAddress(String value)
setAddress in interface NetworkListenerpublic String getEnabled()
NetworkListenergetEnabled in interface NetworkListenerpublic void setEnabled(String enabled)
setEnabled in interface NetworkListenerpublic String getName()
NetworkListenergetName in interface NetworkListenerpublic void setName(String value)
setName in interface NetworkListenerpublic String getPort()
NetworkListenergetPort in interface NetworkListenerpublic void setPort(String value)
setPort in interface NetworkListenerpublic String getProtocol()
NetworkListenergetProtocol in interface NetworkListenerpublic void setProtocol(String value)
setProtocol in interface NetworkListenerpublic String getThreadPool()
NetworkListenergetThreadPool in interface NetworkListenerpublic void setThreadPool(String value)
setThreadPool in interface NetworkListenerpublic String getTransport()
NetworkListenergetTransport in interface NetworkListenerpublic void setTransport(String value)
setTransport in interface NetworkListenerpublic String getJkEnabled()
NetworkListenergetJkEnabled in interface NetworkListenerpublic void setJkEnabled(String value)
setJkEnabled in interface NetworkListenerpublic String getJkConfigurationFile()
getJkConfigurationFile in interface NetworkListenerpublic void setJkConfigurationFile(String jkConfigurationFile)
setJkConfigurationFile in interface NetworkListenerpublic void injectedInto(Object target)
public <T extends org.jvnet.hk2.config.ConfigBeanProxy> T createChild(Class<T> type) throws org.jvnet.hk2.config.TransactionFailure
createChild in interface org.jvnet.hk2.config.ConfigBeanProxyorg.jvnet.hk2.config.TransactionFailurepublic Protocol findProtocol()
findProtocol in interface NetworkListenerpublic String findHttpProtocolName()
findHttpProtocolName in interface NetworkListenerpublic Protocol findHttpProtocol()
findHttpProtocol in interface NetworkListenerpublic ThreadPool findThreadPool()
findThreadPool in interface NetworkListenerpublic Transport findTransport()
findTransport in interface NetworkListenerpublic NetworkListeners getParent()
getParent in interface NetworkListenergetParent in interface org.jvnet.hk2.config.ConfigBeanProxypublic <T extends org.jvnet.hk2.config.ConfigBeanProxy> T getParent(Class<T> c)
getParent in interface org.jvnet.hk2.config.ConfigBeanProxypublic org.jvnet.hk2.config.ConfigBeanProxy deepCopy(org.jvnet.hk2.config.ConfigBeanProxy parent)
deepCopy in interface org.jvnet.hk2.config.ConfigBeanProxypublic List<org.jvnet.hk2.config.types.Property> getProperty()
getProperty in interface org.jvnet.hk2.config.types.PropertyBagpublic org.jvnet.hk2.config.types.Property addProperty(org.jvnet.hk2.config.types.Property property)
public org.jvnet.hk2.config.types.Property lookupProperty(String s)
public org.jvnet.hk2.config.types.Property removeProperty(String s)
public org.jvnet.hk2.config.types.Property removeProperty(org.jvnet.hk2.config.types.Property property)
public org.jvnet.hk2.config.types.Property getProperty(String name)
getProperty in interface org.jvnet.hk2.config.types.PropertyBagpublic String getPropertyValue(String name)
getPropertyValue in interface org.jvnet.hk2.config.types.PropertyBagCopyright © 2017. All rights reserved.