org.fusesource.fabric.dosgi.util
Class AriesFrameworkUtil

java.lang.Object
  extended by org.fusesource.fabric.dosgi.util.AriesFrameworkUtil

public final class AriesFrameworkUtil
extends java.lang.Object


Constructor Summary
AriesFrameworkUtil()
           
 
Method Summary
static java.lang.ClassLoader getClassLoader(org.osgi.framework.Bundle b)
          This method attempts to get the classloader for a bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AriesFrameworkUtil

public AriesFrameworkUtil()
Method Detail

getClassLoader

public static java.lang.ClassLoader getClassLoader(org.osgi.framework.Bundle b)
This method attempts to get the classloader for a bundle. It may return null if their is no such classloader, or if it cannot obtain the classloader for the bundle.

Parameters:
b - the bundle whose classloader is desired.
Returns:
the classloader if found, or null.


Copyright © 2013 Red Hat. All Rights Reserved.