com.ctc.wstx.osgi
Class WstxBundleActivator

java.lang.Object
  extended by com.ctc.wstx.osgi.WstxBundleActivator

public class WstxBundleActivator
extends Object

This class is responsible for registering OSGi service(s) that Woodstox package provides. Currently it means registering all providers that are needed to instantiate input, output and validation schema factories; these are needed since JDK service-introspection (which is the standard Stax instance instantiation mechanism) does not work with OSGi.


Constructor Summary
WstxBundleActivator()
           
 
Method Summary
 void start(BundleContext ctxt)
          Method called on activation.
 void stop(BundleContext ctxt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WstxBundleActivator

public WstxBundleActivator()
Method Detail

start

public void start(BundleContext ctxt)
Method called on activation. We need to register all providers we have at this point.


stop

public void stop(BundleContext ctxt)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.