Class ConnectorStoreAppender

  • public class ConnectorStoreAppender
    extends StoreAppender
    Store the Connector attributes. Connector has really special design. A Connector is only a startup Wrapper for a ProtocolHandler. This meant that ProtocolHandler get all there attributes from the Connector attribute map. Strange is that some attributes change there name and the attribute sslProtocol need a special handling
    • Field Detail

      • replacements

        protected static final java.util.HashMap<java.lang.String,​java.lang.String> replacements
      • internalExecutorAttributes

        protected static final java.util.Set<java.lang.String> internalExecutorAttributes
    • Constructor Detail

      • ConnectorStoreAppender

        public ConnectorStoreAppender()
    • Method Detail

      • printAttributes

        public void printAttributes​( writer,
                                    int indent,
                                    boolean include,
                                    java.lang.Object bean,
                                    StoreDescription desc)
                             throws java.lang.Exception
        Description copied from class: StoreAppender
        Store the relevant attributes of the specified JavaBean.
        printAttributes in class StoreAppender
        writer - PrintWriter to which we are storing
        indent - Indentation level
        include - Should we include a className attribute?
        bean - Bean whose properties are to be rendered as attributes,
        desc - RegistryDescriptor from this bean
        java.lang.Exception - if an exception occurs while storing
      • getPropertyKeys

        protected java.util.List<java.lang.String> getPropertyKeys​(Connector bean)
                                                            throws java.beans.IntrospectionException
        Get all properties from Connector and current ProtocolHandler.
        bean - The connector
        List of Connector property names
        java.beans.IntrospectionException - Error introspecting connector
      • storeConnectorAttributes

        protected void storeConnectorAttributes​( aWriter,
                                                int indent,
                                                java.lang.Object bean,
                                                StoreDescription aDesc)
                                         throws java.lang.Exception
        Print Attributes for the connector
        aWriter - Current writer
        indent - Indentation level
        bean - The connector bean
        aDesc - The connector description
        java.lang.Exception - Store error occurred
      • getCatalinaBase

        protected getCatalinaBase()
      • getJkHomeBase

        protected getJkHomeBase​(java.lang.String jkHome,