@Deprecated
class FactoryFinder
extends java.lang.Object
com.rometools.rome.propono.atom.server.AtomHandlerFactory
based on properties
files.Modifier and Type | Field and Description |
---|---|
private static java.util.Properties |
cacheProps
Deprecated.
|
private static boolean |
debug
Deprecated.
|
private static boolean |
firstTime
Deprecated.
|
private static SecuritySupport |
ss
Deprecated.
|
Modifier | Constructor and Description |
---|---|
private |
FactoryFinder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private static void |
dPrint(java.lang.String msg)
Deprecated.
|
(package private) static java.lang.Object |
find(java.lang.String factoryId,
java.lang.String fallbackClassName)
Deprecated.
Finds the implementation Class object in the specified order.
|
private static java.lang.Object |
findJarServiceProvider(java.lang.String factoryId)
Deprecated.
|
private static java.lang.Object |
newInstance(java.lang.String className,
java.lang.ClassLoader cl,
boolean doFallback)
Deprecated.
Create an instance of a class using the specified ClassLoader and optionally fall back to the
current ClassLoader if not found.
|
private static boolean debug
private static java.util.Properties cacheProps
private static SecuritySupport ss
private static boolean firstTime
private static void dPrint(java.lang.String msg)
private static java.lang.Object newInstance(java.lang.String className, java.lang.ClassLoader cl, boolean doFallback) throws ConfigurationError
className
- Name of the concrete class corresponding to the service providercl
- ClassLoader to use to load the class, null means to use the bootstrap ClassLoaderdoFallback
- true if the current ClassLoader should be tried as a fallback if the class
is not found using clConfigurationError
static java.lang.Object find(java.lang.String factoryId, java.lang.String fallbackClassName) throws ConfigurationError
factoryId
- Name of the factory to find, same as a property namefallbackClassName
- Implementation class name, if nothing else is found. Use null to
mean no fallback.
Package private so this code can be shared.ConfigurationError
private static java.lang.Object findJarServiceProvider(java.lang.String factoryId) throws ConfigurationError
ConfigurationError