com.sun.xml.ws.util
Class Pool.Marshaller

java.lang.Object
  extended by com.sun.xml.ws.util.Pool<Marshaller>
      extended by com.sun.xml.ws.util.Pool.Marshaller
Enclosing class:
Pool<T>

public static final class Pool.Marshaller
extends Pool<Marshaller>

JAXB Marshaller pool.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.ws.util.Pool
Pool.Marshaller, Pool.TubePool, Pool.Unmarshaller
 
Constructor Summary
Pool.Marshaller(JAXBContext context)
           
 
Method Summary
protected  Marshaller create()
          Creates a new instance of object.
 
Methods inherited from class com.sun.xml.ws.util.Pool
recycle, take
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pool.Marshaller

public Pool.Marshaller(JAXBContext context)
Method Detail

create

protected 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<Marshaller>