Package org.glassfish.grizzly.config
Interface GrizzlyListener
- All Known Implementing Classes:
GenericGrizzlyListener
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:
- At the transport level: Containers can be notified when TCP, TLS or UDP requests are mapped to them.
- At the protocol level: Containers can be notified when protocols (ex: SIP, HTTP) requests are mapped to them. At the requests level: Containers can be notified when specific patterns requests are mapped to them.
- Author:
- Jeanfrancois Arcand, Justin Lee
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(org.glassfish.hk2.api.ServiceLocator habitat, NetworkListener networkListener) voiddestroy()<T> TgetAdapter(Class<T> adapterClass) getName()intgetPort()voidprocessDynamicConfigurationChange(org.glassfish.hk2.api.ServiceLocator habitat, PropertyChangeEvent[] events) voidstart()voidstop()
-
Method Details
-
start
- Throws:
IOException
-
stop
- Throws:
IOException
-
destroy
void destroy() -
getName
String getName() -
getAddress
InetAddress getAddress() -
getPort
int getPort() -
configure
void configure(org.glassfish.hk2.api.ServiceLocator habitat, NetworkListener networkListener) throws IOException - Throws:
IOException
-
processDynamicConfigurationChange
void processDynamicConfigurationChange(org.glassfish.hk2.api.ServiceLocator habitat, PropertyChangeEvent[] events) -
getAdapter
-