Class ContextNamingInfoListener

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEmptyOnRoot()
      Gets whether paths and name for the root context will be empty.
      void lifecycleEvent​(LifecycleEvent event)
      Acknowledge the occurrence of the specified event.
      void setEmptyOnRoot​(boolean emptyOnRoot)
      Sets whether for the root context context/path and context/encodedPath will contain "/" and context/name will contain "ROOT" with a version, if any.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextNamingInfoListener

        public ContextNamingInfoListener()
    • Method Detail

      • setEmptyOnRoot

        public void setEmptyOnRoot​(boolean emptyOnRoot)
        Sets whether for the root context context/path and context/encodedPath will contain "/" and context/name will contain "ROOT" with a version, if any.
        Parameters:
        emptyOnRoot - whether paths and name for root context shall be empty
      • isEmptyOnRoot

        public boolean isEmptyOnRoot()
        Gets whether paths and name for the root context will be empty.
        Returns:
        indicator whether paths and name for the root context will be empty