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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbundleChanged(org.osgi.framework.BundleEvent event) static ClassCodeBaseHandlervoidstart(org.osgi.framework.BundleContext context) voidstop(org.osgi.framework.BundleContext context)
-
Constructor Details
-
OSGIListener
public OSGIListener()
-
-
Method Details
-
classNameResolver
-
classCodeBaseHandler
-
start
public void start(org.osgi.framework.BundleContext context) - Specified by:
startin interfaceorg.osgi.framework.BundleActivator
-
stop
public void stop(org.osgi.framework.BundleContext context) - Specified by:
stopin interfaceorg.osgi.framework.BundleActivator
-
bundleChanged
public void bundleChanged(org.osgi.framework.BundleEvent event) - Specified by:
bundleChangedin interfaceorg.osgi.framework.BundleListener
-