Package org.glassfish.grizzly.config.dom
Interface NetworkListener
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy,org.jvnet.hk2.config.types.PropertyBag
public interface NetworkListener
extends org.jvnet.hk2.config.ConfigBeanProxy, org.jvnet.hk2.config.types.PropertyBag
Binds protocol to a specific endpoint to listen on
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionIP address to listen onIf false, a configured listener, is disabledIf true, a jk listener is enabledgetName()Network-listener name, which could be used as referencegetPort()Port to listen onReference to a protocolReference to a thread-pool, defined earlier in the document.Reference to a low-level transport@Pattern(regexp="(standard|proxy)",message="Valid values: (standard|proxy)") StringgetType()Network-listener name, which could be used as referencevoidsetAddress(String value) voidsetEnabled(String enabled) voidsetJkConfigurationFile(String file) voidsetJkEnabled(String enabled) voidvoidvoidsetProtocol(String value) voidsetThreadPool(String value) voidsetTransport(String value) voidMethods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParentMethods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
Field Details
-
ENABLED
static final boolean ENABLED- See Also:
-
JK_ENABLED
static final boolean JK_ENABLED- See Also:
-
DEFAULT_ADDRESS
- See Also:
-
DEFAULT_CONFIGURATION_FILE
- See Also:
-
LISTENER_TYPES
- See Also:
-
DEFAULT_TYPE
- See Also:
-
-
Method Details
-
getAddress
IP address to listen on -
setAddress
-
getEnabled
String getEnabled()If false, a configured listener, is disabled -
setEnabled
-
getJkConfigurationFile
String getJkConfigurationFile() -
setJkConfigurationFile
-
getJkEnabled
String getJkEnabled()If true, a jk listener is enabled -
setJkEnabled
-
getName
String getName()Network-listener name, which could be used as reference -
setName
-
getType
@Pattern(regexp="(standard|proxy)", message="Valid values: (standard|proxy)") @Pattern(regexp="(standard|proxy)",message="Valid values: (standard|proxy)") String getType()Network-listener name, which could be used as reference -
setType
-
getPort
Port to listen on -
setPort
-
getProtocol
String getProtocol()Reference to a protocol -
setProtocol
-
getThreadPool
String getThreadPool()Reference to a thread-pool, defined earlier in the document. -
setThreadPool
-
getTransport
String getTransport()Reference to a low-level transport -
setTransport
-
findHttpProtocol
-
findHttpProtocolName
-
findProtocol
-
findThreadPool
-
findTransport
-
getParent
- Specified by:
getParentin interfaceorg.jvnet.hk2.config.ConfigBeanProxy
-