|
||||||||||
| 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,
ProtectionDomain domain)
Constructs a ClasspathElement with the specified bundlefile and domain |
|
| Method Summary | |
|---|---|
void |
addUserObject(KeyedElement userObject)
Adds a user object |
BaseData |
getBaseData()
Returns the base data which this entry is associated with. |
BundleFile |
getBundleFile()
Returns the source BundleFile for this classpath entry |
ProtectionDomain |
getDomain()
Returns the ProtectionDomain for this classpath entry |
Object |
getUserObject(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,
ProtectionDomain domain)
bundlefile - A BundleFile object which acts as a sourcedomain - the ProtectDomain for all code loaded from this classpath element| Method Detail |
|---|
public BundleFile getBundleFile()
public BaseData getBaseData()
public ProtectionDomain getDomain()
public Object getUserObject(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 | |||||||||