Class OSGIListener

java.lang.Object
com.sun.corba.ee.impl.osgi.loader.OSGIListener
All Implemented Interfaces:
EventListener, org.osgi.framework.BundleActivator, org.osgi.framework.BundleListener, org.osgi.framework.SynchronousBundleListener

public class OSGIListener extends Object implements org.osgi.framework.BundleActivator, org.osgi.framework.SynchronousBundleListener
OSGi class that monitors which bundles provide classes that the ORB needs to instantiate for initialization.

Note that OSGIListener must be a Bundle-Activator in the glassfish-corba-orb bundle.

Any bundle that provides ORB classes to the ORB initialization code must declare all such classes in a comma-separated list in the bundle manifest with the keywork ORB-Class-Provider.

Author:
ken
  • Constructor Details

    • OSGIListener

      public OSGIListener()
  • Method Details

    • classNameResolver

      public static org.glassfish.pfl.basic.func.UnaryFunction<String,Class<?>> classNameResolver()
    • classCodeBaseHandler

      public static ClassCodeBaseHandler classCodeBaseHandler()
    • start

      public void start(org.osgi.framework.BundleContext context)
      Specified by:
      start in interface org.osgi.framework.BundleActivator
    • stop

      public void stop(org.osgi.framework.BundleContext context)
      Specified by:
      stop in interface org.osgi.framework.BundleActivator
    • bundleChanged

      public void bundleChanged(org.osgi.framework.BundleEvent event)
      Specified by:
      bundleChanged in interface org.osgi.framework.BundleListener