public interface ILibraryService extends IService
Modifier and Type | Field and Description |
---|---|
static String |
LIBRARY_SERVICE
The (standard) Library service name.
|
EMPTY_SERVICES
Modifier and Type | Method and Description |
---|---|
void |
addLibraryServiceListener(ILibraryServiceListener listener)
Add an Library Service listener.
|
void |
addURL(URL url)
Add a new url.
|
IFuture<List<URL>> |
getAllURLs()
Get all urls (managed and non-managed).
|
IFuture<byte[]> |
getClassDefinition(String name)
Get a class definition.
|
ClassLoader |
getClassLoader()
Returns the current ClassLoader.
|
IFuture<List<URL>> |
getNonManagedURLs()
Get other contained (but not directly managed) URLs.
|
IFuture<List<String>> |
getNonManagedURLStrings()
Get the non-managed classpath entries.
|
IFuture<List<URL>> |
getURLs()
Get all managed entries as URLs.
|
IFuture<List<String>> |
getURLStrings()
Get the non-managed classpath entries as strings.
|
void |
removeLibraryServiceListener(ILibraryServiceListener listener)
Remove an Library Service listener.
|
void |
removeURL(URL url)
Remove a url.
|
void |
removeURLCompletely(URL url)
Remove a url completely (all references).
|
getPropertyMap, getServiceIdentifier, isValid
static final String LIBRARY_SERVICE
void addURL(URL url)
url
- The url.void removeURL(URL url)
url
- The url.void removeURLCompletely(URL url)
url
- The url.IFuture<List<URL>> getNonManagedURLs()
IFuture<List<URL>> getAllURLs()
IFuture<List<String>> getURLStrings()
IFuture<List<String>> getNonManagedURLStrings()
IFuture<byte[]> getClassDefinition(String name)
name
- The class name.ClassLoader getClassLoader()
void addLibraryServiceListener(ILibraryServiceListener listener)
listener
- The listener to be added.void removeLibraryServiceListener(ILibraryServiceListener listener)
listener
- The listener to be removed.Copyright © 2012. All Rights Reserved.