| java.lang.Object | |
| ↳ | org.eclipse.sisu.space.BundleClassSpace |
ClassSpace backed by a strongly-referenced Bundle.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| BundleClassSpace(Bundle bundle) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| DeferredClass<?> |
deferLoadClass(String name)
Defers loading of the named class from the surrounding class space.
| ||||||||||
| boolean | equals(Object rhs) | ||||||||||
| Enumeration<URL> |
findEntries(String path, String glob, boolean recurse)
Queries local class space content for entries matching the given pattern.
| ||||||||||
| Bundle | getBundle() | ||||||||||
| URL |
getResource(String name)
Queries the surrounding class space for the resource with the given name.
| ||||||||||
| Enumeration<URL> |
getResources(String name)
Queries the surrounding class space for all resources with the given name.
| ||||||||||
| int | hashCode() | ||||||||||
| Class<?> |
loadClass(String name)
Loads the named class from the surrounding class space.
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.eclipse.sisu.space.ClassSpace
| |||||||||||
Defers loading of the named class from the surrounding class space.
| name | The class name |
|---|
Queries local class space content for entries matching the given pattern.
| path | The initial search directory; for example "META-INF" |
|---|---|
| glob | The filename glob pattern; for example "*.xml" |
| recurse | If true recurse into sub-directories; otherwise only search initial directory |
Queries the surrounding class space for the resource with the given name.
| name | The resource name |
|---|
null if it wasn't foundQueries the surrounding class space for all resources with the given name.
| name | The resource name |
|---|
Loads the named class from the surrounding class space.
| name | The class name |
|---|