org.glassfish.jersey.message.internal
Class XmlInputFactoryInjectionProvider

java.lang.Object
  extended by org.glassfish.jersey.message.internal.XmlInputFactoryInjectionProvider
All Implemented Interfaces:
Factory<XMLInputFactory>

public class XmlInputFactoryInjectionProvider
extends Object
implements Factory<XMLInputFactory>

Thread-scoped injection provider of transformer factories.

Author:
Paul Sandoz, Marek Potociar (marek.potociar at oracle.com)

Constructor Summary
XmlInputFactoryInjectionProvider(Configuration config)
          Create new XML input factory provider.
 
Method Summary
 void dispose(XMLInputFactory instance)
           
 XMLInputFactory provide()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlInputFactoryInjectionProvider

@Inject
public XmlInputFactoryInjectionProvider(Configuration config)
Create new XML input factory provider.

Parameters:
config - Jersey configuration properties.
Method Detail

provide

@PerThread
public XMLInputFactory provide()
Specified by:
provide in interface Factory<XMLInputFactory>

dispose

public void dispose(XMLInputFactory instance)
Specified by:
dispose in interface Factory<XMLInputFactory>


Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.