Class StandardServerSF

  • All Implemented Interfaces:
    IStoreFactory

    public class StandardServerSF
    extends StoreFactoryBase
    Store server.xml Server element and children ( Listener,GlobalNamingResource,Service)
    • Constructor Detail

      • StandardServerSF

        public StandardServerSF()
    • Method Detail

      • store

        public void store​(java.io.PrintWriter aWriter,
                          int indent,
                          java.lang.Object aServer)
                   throws java.lang.Exception
        Store the specified Server properties.
        Specified by:
        store in interface IStoreFactory
        Overrides:
        store in class StoreFactoryBase
        Parameters:
        aWriter - PrintWriter to which we are storing
        indent - Number of spaces to indent this element
        aServer - Object to be stored
        Throws:
        java.lang.Exception - if an exception occurs while storing
        See Also:
        IStoreFactory.store(java.io.PrintWriter, int, java.lang.Object)
      • storeChildren

        public void storeChildren​(java.io.PrintWriter aWriter,
                                  int indent,
                                  java.lang.Object aObject,
                                  StoreDescription parentDesc)
                           throws java.lang.Exception
        Store the specified server element children.
        Overrides:
        storeChildren in class StoreFactoryBase
        Parameters:
        aWriter - Current output writer
        indent - Indentation level
        aObject - Server to store
        parentDesc - The element description
        Throws:
        java.lang.Exception - Configuration storing error