StandardServiceSF (Apache Tomcat 10.1.57 API Documentation)
Description: declaration: package: org.apache.catalina.storeconfig, class: StandardServiceSF

# Class StandardServiceSF

java.lang.Object
org.apache.catalina.storeconfig.StoreFactoryBase
org.apache.catalina.storeconfig.StandardServiceSF

All Implemented Interfaces:
  `IStoreFactory`

public class StandardServiceSF extends StoreFactoryBase
Store server.xml Element Service and all children

- ## Field Summary

  ### Fields inherited from class StoreFactoryBase

  `sm`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StandardServiceSF()`
  Default constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `storeChildren(PrintWriter aWriter, int indent, Object aService, StoreDescription parentDesc)`
  Store the specified service element children.

  ### Methods inherited from class StoreFactoryBase

  `getInfo, getRegistry, getStoreAppender, setRegistry, setStoreAppender, store, storeElement, storeElementArray, storeXMLHead`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### StandardServiceSF

    public StandardServiceSF()
    Default constructor.

- ## Method Details

  - ### storeChildren

    public void storeChildren(PrintWriter aWriter, int indent, Object aService, StoreDescription parentDesc) throws Exception
    Store the specified service element children.

    Must Implement at subclass for custom store children handling.

    Overrides:
      `storeChildren` in class `StoreFactoryBase`
    Parameters:
      `aWriter` - Current output writer
      `indent` - Indentation level
      `aService` - Current element
      `parentDesc` - The element description
    Throws:
      `Exception` - Configuration storing error