Class StoreContextAppender


  • public class StoreContextAppender
    extends StoreAppender
    store StandardContext Attributes ...
    • Constructor Detail

      • StoreContextAppender

        public StoreContextAppender()
    • Method Detail

      • printAttribute

        protected void printAttribute​(PrintWriter writer,
                                      int indent,
                                      Object bean,
                                      StoreDescription desc,
                                      String attributeName,
                                      Object bean2,
                                      Object value)
        Store the specified of the specified JavaBean. Adds special handling for docBase.
        Overrides:
        printAttribute in class StoreAppender
        Parameters:
        writer - PrintWriter to which we are storing
        indent - Indentation level
        bean - The current bean
        desc - RegistryDescriptor from this bean
        attributeName - The attribute name to store
        bean2 - A default instance of the bean for comparison
        value - The attribute value
      • getDefaultWorkDir

        protected String getDefaultWorkDir​(StandardContext context)
        Make default Work Dir.
        Parameters:
        context - The context
        Returns:
        The default working directory for the context.