org.ow2.easywsdl.extensions.wsdl4complexwsdl
Class WSDL4ComplexWsdlReaders

java.lang.Object
  extended by org.ow2.easywsdl.extensions.wsdl4complexwsdl.WSDL4ComplexWsdlReaders

public final class WSDL4ComplexWsdlReaders
extends java.lang.Object

A static pool of WSDL4ComplexWsdlReader to improve WSDL4ComplexWsdlReader creation efficiency. A WSDL4ComplexWsdlReader is initialized the first time this class is used. An infinite number (integer maximum value) of WSDL4ComplexWsdlReader may be created. They are never evicted.


Constructor Summary
WSDL4ComplexWsdlReaders()
           
 
Method Summary
static void releaseWSDL4ComplexWsdlReader(WSDL4ComplexWsdlReader wsdl4ComplexWsdlReader)
          Release a WSDL4ComplexWsdlReader to the pool
static WSDL4ComplexWsdlReader takeWSDL4ComplexWsdlReader()
          Take a WSDL4ComplexWsdlReader from the pool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDL4ComplexWsdlReaders

public WSDL4ComplexWsdlReaders()
Method Detail

takeWSDL4ComplexWsdlReader

public static final WSDL4ComplexWsdlReader takeWSDL4ComplexWsdlReader()
                                                               throws com.ebmwebsourcing.easycommons.pooling.PoolException
Take a WSDL4ComplexWsdlReader from the pool

Returns:
one WSDL4ComplexWsdlReader
Throws:
com.ebmwebsourcing.easycommons.pooling.PoolException - if the current thread waits for a WSDL4ComplexWsdlReader of the pool and is interrupted

releaseWSDL4ComplexWsdlReader

public static final void releaseWSDL4ComplexWsdlReader(WSDL4ComplexWsdlReader wsdl4ComplexWsdlReader)
Release a WSDL4ComplexWsdlReader to the pool

Parameters:
wsdl4ComplexWsdlReader - a WSDL4ComplexWsdlReader to release


Copyright © 2008-2011 Petals Link (previously EBM WebSourcing). All Rights Reserved.