org.glassfish.jersey.message.internal
Class SaxParserFactoryInjectionProvider
java.lang.Object
org.glassfish.jersey.message.internal.SaxParserFactoryInjectionProvider
- All Implemented Interfaces:
- Factory<SAXParserFactory>
public class SaxParserFactoryInjectionProvider
- extends Object
- implements Factory<SAXParserFactory>
Thread-scoped injection provider of SAX parser factories.
- Author:
- Paul Sandoz, Marek Potociar (marek.potociar at oracle.com), Martin Matula (martin.matula at oracle.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SaxParserFactoryInjectionProvider
@Inject
public SaxParserFactoryInjectionProvider(Configuration config)
- Create new SAX parser factory provider.
- Parameters:
config - Jersey configuration properties.
provide
@PerThread
public SAXParserFactory provide()
- Specified by:
provide in interface Factory<SAXParserFactory>
dispose
public void dispose(SAXParserFactory instance)
- Specified by:
dispose in interface Factory<SAXParserFactory>
Copyright © 2007-2013 Oracle Corporation. All Rights Reserved. Use is subject to license terms.