|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BaseClassLoader
The actual class loader object used to define classes for a classpath manager. This interface provides public versions of a few methods on class loader.
ClasspathManager| Method Summary | |
|---|---|
ClasspathEntry |
createClassPathEntry(BundleFile bundlefile,
java.security.ProtectionDomain cpDomain)
Creates a classpath entry with the given bundle file and domain |
java.lang.Class |
defineClass(java.lang.String name,
byte[] classbytes,
ClasspathEntry classpathEntry,
BundleEntry entry)
Defines a Class. |
ClasspathManager |
getClasspathManager()
Returns the ClasspathManager for this BaseClassLoader |
java.security.ProtectionDomain |
getDomain()
Returns the domain for the host bundle of this class loader |
java.lang.Object |
publicDefinePackage(java.lang.String name,
java.lang.String specTitle,
java.lang.String specVersion,
java.lang.String specVendor,
java.lang.String implTitle,
java.lang.String implVersion,
java.lang.String implVendor,
java.net.URL sealBase)
A public version of the ClassLoader#definePackage(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.net.URL) method. |
java.lang.Class |
publicFindLoaded(java.lang.String classname)
A public version of the ClassLoader.findLoadedClass(java.lang.String) method. |
java.lang.Object |
publicGetPackage(java.lang.String pkgname)
A public version of the ClassLoader#getPackage(java.lang.String) method. |
| Methods inherited from interface org.eclipse.osgi.framework.adaptor.BundleClassLoader |
|---|
attachFragment, close, findLocalClass, findLocalResource, findLocalResources, getDelegate, getParent, getResource, getResources, initialize, loadClass |
| Methods inherited from interface org.osgi.framework.BundleReference |
|---|
getBundle |
| Method Detail |
|---|
java.security.ProtectionDomain getDomain()
ClasspathEntry createClassPathEntry(BundleFile bundlefile,
java.security.ProtectionDomain cpDomain)
bundlefile - the source bundle file for a classpath entrycpDomain - the source domain for a classpath entry
java.lang.Class defineClass(java.lang.String name,
byte[] classbytes,
ClasspathEntry classpathEntry,
BundleEntry entry)
name - the name of the class to defineclassbytes - the bytes of the class to defineclasspathEntry - the classpath entry used to load the class bytesentry - the bundle entry used to load the class bytes
java.lang.Class publicFindLoaded(java.lang.String classname)
classname - the class name to find.
java.lang.Object publicGetPackage(java.lang.String pkgname)
pkgname - the package name to get.
java.lang.Object publicDefinePackage(java.lang.String name,
java.lang.String specTitle,
java.lang.String specVersion,
java.lang.String specVendor,
java.lang.String implTitle,
java.lang.String implVersion,
java.lang.String implVendor,
java.net.URL sealBase)
ClasspathManager getClasspathManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||