|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.osgi.baseadaptor.loader.ClasspathEntry
public class ClasspathEntry
A ClasspathEntry contains a single BundleFile
which is used as
a source to load classes and resources from, and a single
ProtectionDomain
which is used as the domain to define classes
loaded from this ClasspathEntry.
Constructor Summary | |
---|---|
ClasspathEntry(BundleFile bundlefile,
java.security.ProtectionDomain domain)
Constructs a ClasspathElement with the specified bundlefile and domain |
Method Summary | |
---|---|
void |
addUserObject(KeyedElement userObject)
Adds a user object |
BundleFile |
getBundleFile()
Returns the source BundleFile for this classpath entry |
java.security.ProtectionDomain |
getDomain()
Returns the ProtectionDomain for this classpath entry |
java.lang.Object |
getUserObject(java.lang.Object key)
Returns a user object which is keyed by the specified key |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ClasspathEntry(BundleFile bundlefile, java.security.ProtectionDomain domain)
bundlefile
- A BundleFile object which acts as a sourcedomain
- the ProtectDomain for all code loaded from this classpath elementMethod Detail |
---|
public BundleFile getBundleFile()
public java.security.ProtectionDomain getDomain()
public java.lang.Object getUserObject(java.lang.Object key)
key
- the key of the user object to get
public void addUserObject(KeyedElement userObject)
userObject
- the user object to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |