Class MapperListener

    • Field Detail

      • httpService

        public transient HttpService httpService
      • logger

        protected static final Logger logger
      • mapper

        protected transient org.glassfish.grizzly.http.server.util.Mapper mapper
    • Constructor Detail

      • MapperListener

        public MapperListener​(org.glassfish.grizzly.http.server.util.Mapper mapper,
                              WebContainer webContainer)
        Create mapper listener.
    • Method Detail

      • getDomain

        public String getDomain()
      • setDomain

        public void setDomain​(String domain)
      • getNetworkListenerName

        public String getNetworkListenerName()
      • setNetworkListenerName

        public void setNetworkListenerName​(String networkListenerName)
      • getDefaultHost

        public String getDefaultHost()
      • setDefaultHost

        public void setDefaultHost​(String defaultHost)
      • setInstanceName

        public void setInstanceName​(String instanceName)
      • init

        public void init()
        Initialize associated mapper.
      • isNotificationEnabled

        public boolean isNotificationEnabled​(Notification notification)
        Filters out any notifications corresponding to MBeans belonging to a different server instance than the server instance on which this MapperListener is running.
        Specified by:
        isNotificationEnabled in interface NotificationFilter
        Parameters:
        notification - The notification to be examined
        Returns:
        true if the notification needs to be sent to this MapperListener, false otherwise.