|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.bea.domingo.DNotesFactoryFinder
final class DNotesFactoryFinder
Implementation finder for the abstract factory DNotesFactory.
| Nested Class Summary | |
|---|---|
(package private) static class |
DNotesFactoryFinder.ClassLoaderFinderConcrete
Nested class that allows getContextClassLoader() to be called only on JDK 1.2 and yet run in older JDK 1.1 JVMs. |
(package private) static class |
DNotesFactoryFinder.ConfigurationError
Error class to indicate factory configuration errors. |
| Method Summary | |
|---|---|
static java.lang.Object |
find()
Find the class name of the implementation of an abstract factory. |
static java.lang.Object |
find(java.lang.String implementingClassName)
Find the class name of the implementation of an abstract factory. |
static java.lang.ClassLoader |
findClassLoader()
Figure out which ClassLoader to use. |
static java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
Returns the value of a property or returns the given default value if no configuration found. |
static void |
setProperty(java.lang.String key,
java.lang.String value)
Sets a configuration value and overwrites any default or configuration settings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.Object find()
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.IllegalAccessException - if the class or initializer is
not accessible.
java.lang.InstantiationException - if this Class represents an abstract class,
an interface, an array class,
a primitive type, or void;
or if the instantiation fails for some other reason.
public static java.lang.Object find(java.lang.String implementingClassName)
throws java.lang.InstantiationException,
java.lang.IllegalAccessException
java.lang.IllegalAccessException - if the class or initializer is
not accessible.
java.lang.InstantiationException - if this Class represents an abstract class,
an interface, an array class,
a primitive type, or void;
or if the instantiation fails for some other reason.public static java.lang.ClassLoader findClassLoader()
public static java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
key - the key of the propertydefaultValue - default value, if no configuration found
public static void setProperty(java.lang.String key,
java.lang.String value)
key - the key of the propertyvalue - the new value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||