|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.tools.verifier.apiscan.classfile.ClassFileLoaderFactory
public class ClassFileLoaderFactory
A factory for ClassFileLoader so that we can control the creation of ClassFileLoaders. More over, this factory can be dynamically configured by setting the Java class name of the actual ClassFileLoader type in the system property apiscan.ClassFileLoader. See newInstance() method.
| Constructor Summary | |
|---|---|
ClassFileLoaderFactory()
|
|
| Method Summary | |
|---|---|
static ClassFileLoader |
newInstance(java.lang.Object[] args)
a factory method to create ClassFileLoader instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassFileLoaderFactory()
| Method Detail |
|---|
public static ClassFileLoader newInstance(java.lang.Object[] args)
throws java.lang.RuntimeException
BCELClassFileLoader
args - Search path to be used by the ClassFileLoader. Depending on
the type of the ClassFileLoader requested, the semantics of
this argument varies.
java.lang.RuntimeException - If it could not instantiate the loader type
requested. The actual error is wrapped in this
exception.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||