public interface GrizzlyListener
The GrizzlyServiceListener is responsible of mapping incoming requests to the proper Container or Grizzly extensions. Registered Containers can be notified by Grizzly using three mode:
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.glassfish.hk2.api.ServiceLocator habitat,
NetworkListener networkListener) |
void |
destroy() |
<T> T |
getAdapter(Class<T> adapterClass) |
InetAddress |
getAddress() |
String |
getName() |
int |
getPort() |
org.glassfish.grizzly.PortRange |
getPortRange() |
void |
processDynamicConfigurationChange(org.glassfish.hk2.api.ServiceLocator habitat,
PropertyChangeEvent[] events) |
void |
start() |
void |
stop() |
void start()
throws IOException
IOExceptionvoid stop() throws IOException
IOExceptionvoid destroy()
String getName()
InetAddress getAddress()
int getPort()
org.glassfish.grizzly.PortRange getPortRange()
void configure(org.glassfish.hk2.api.ServiceLocator habitat,
NetworkListener networkListener)
throws IOException
IOExceptionvoid processDynamicConfigurationChange(org.glassfish.hk2.api.ServiceLocator habitat,
PropertyChangeEvent[] events)
<T> T getAdapter(Class<T> adapterClass)
Copyright © 2019. All rights reserved.