Class WstxBundleActivator

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class WstxBundleActivator
    extends Object
    implements org.osgi.framework.BundleActivator
    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 Detail

      • WstxBundleActivator

        public WstxBundleActivator()
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext ctxt)
        Method called on activation. We need to register all providers we have at this point.
        Specified by:
        start in interface org.osgi.framework.BundleActivator
      • stop

        public void stop​(org.osgi.framework.BundleContext ctxt)
        Specified by:
        stop in interface org.osgi.framework.BundleActivator