org.glassfish.jersey.message.internal
Class DocumentBuilderFactoryInjectionProvider

java.lang.Object
  extended by org.glassfish.jersey.message.internal.DocumentBuilderFactoryInjectionProvider
All Implemented Interfaces:
org.glassfish.hk2.api.Factory<DocumentBuilderFactory>

public class DocumentBuilderFactoryInjectionProvider
extends Object
implements org.glassfish.hk2.api.Factory<DocumentBuilderFactory>

Thread-scoped injection provider of document builder factories.

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

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

Constructor Detail

DocumentBuilderFactoryInjectionProvider

@Inject
public DocumentBuilderFactoryInjectionProvider(Configuration config)
Create new document builder factory provider.

Parameters:
config - Jersey configuration properties.
Method Detail

provide

@PerThread
public DocumentBuilderFactory provide()
Specified by:
provide in interface org.glassfish.hk2.api.Factory<DocumentBuilderFactory>

dispose

public void dispose(DocumentBuilderFactory instance)
Specified by:
dispose in interface org.glassfish.hk2.api.Factory<DocumentBuilderFactory>


Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.