org.hibernate.osgi
Class CachedBundle
java.lang.Object
org.hibernate.osgi.CachedBundle
public class CachedBundle
- extends Object
Integrates a Bundle, its key, and classes/resources that have been found
through its ClassLoader. Primarily used to clear the OsgiClassLoader
caches once the Bundle is deactivated.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachedBundle
public CachedBundle(org.osgi.framework.Bundle bundle,
String key)
loadClass
public Class loadClass(String name)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
getResource
public URL getResource(String name)
getResources
public Enumeration getResources(String name)
throws IOException
- Throws:
IOException
getKey
public String getKey()
getClassNames
public List<String> getClassNames()
getResourceNames
public List<String> getResourceNames()
getResourceListNames
public List<String> getResourceListNames()
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.