Class Pool.Marshaller

  • Enclosing class:
    Pool<T>

    public static final class Pool.Marshaller
    extends Pool<javax.xml.bind.Marshaller>
    JAXB Marshaller pool.
    • Constructor Detail

      • Marshaller

        public Marshaller​(javax.xml.bind.JAXBContext context)
    • Method Detail

      • create

        protected javax.xml.bind.Marshaller create()
        Description copied from class: Pool
        Creates a new instance of object.

        This method is used when someone wants to take an object from an empty pool.

        Also note that multiple threads may call this method concurrently.

        Specified by:
        create in class Pool<javax.xml.bind.Marshaller>