@Service @Singleton public class StAXParserFactory extends Object implements org.glassfish.hk2.api.Factory<XMLInputFactory>
XMLInputFactory via Inject.
Component instantiation happens only when someone requests XMLInputFactory,
so this is as lazy as it gets.
TODO: if we need to let people choose StAX implementation, this is the place to do it.
| Constructor and Description |
|---|
StAXParserFactory() |
@PerLookup public XMLInputFactory provide()
provide in interface org.glassfish.hk2.api.Factory<XMLInputFactory>public void dispose(XMLInputFactory instance)
dispose in interface org.glassfish.hk2.api.Factory<XMLInputFactory>Copyright © 2013. All Rights Reserved.