Package | Description |
---|---|
com.sun.jini.resource |
Utility classes for manipulating resources.
|
Modifier and Type | Method and Description |
---|---|
private static void |
Service.fail(Class service,
String msg) |
private static void |
Service.fail(Class service,
URL u,
int line,
String msg) |
boolean |
Service.LazyIterator.hasNext() |
static Iterator |
Service.installedProviders(Class service)
Locates and incrementally instantiates the available providers of a
given service using the extension class loader.
|
Object |
Service.LazyIterator.next() |
private static Iterator |
Service.parse(Class service,
URL u,
Set returned)
Parse the content of the given URL as a provider-configuration file.
|
private static int |
Service.parseLine(Class service,
URL u,
BufferedReader r,
int lc,
List names,
Set returned)
Parse a single line from the given configuration file, adding the name
on the line to both the names list and the returned set iff the name is
not already a member of the returned set.
|
static Iterator |
Service.providers(Class service)
Locates and incrementally instantiates the available providers of a
given service using the context class loader.
|
static Iterator |
Service.providers(Class service,
ClassLoader loader)
Locates and incrementally instantiates the available providers of a
given service using the given class loader.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.