org.apache.openjpa.persistence.osgi
Class BundleUtils

java.lang.Object
  extended by org.apache.openjpa.persistence.osgi.BundleUtils

public class BundleUtils
extends Object

OSGi helper class and methods. All routines MUST use reflection, so we don't have any hard-coded runtime depends on OSGi classes for Java SE and EE users.

Version:
$Rev$ $Date$

Constructor Summary
BundleUtils()
           
 
Method Summary
static ClassLoader getBundleClassLoader()
           
static boolean runningUnderOSGi()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleUtils

public BundleUtils()
Method Detail

runningUnderOSGi

public static boolean runningUnderOSGi()

getBundleClassLoader

public static ClassLoader getBundleClassLoader()


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.