Verifier
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | MAP
The HashMap that holds the data about the already-constructed Verifier instances. |
| private static final List | OBSVERVERS
The VerifierFactoryObserver instances that observe the VerifierFactory. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static void | |
| public static void | detach(final VerifierFactoryObserver o)
Removes the VerifierFactoryObserver o from the list of observers. |
| public static Verifier | Returns: the (only) verifier responsible for the class with the given name.Returns the (only) verifier responsible for the class with the given name. |
| public static Verifier[] | |
| private static void |
| MAP | back to summary |
|---|---|
| private static final Map<String, Verifier> MAP The HashMap that holds the data about the already-constructed Verifier instances. | |
| OBSVERVERS | back to summary |
|---|---|
| private static final List<VerifierFactoryObserver> OBSVERVERS The VerifierFactoryObserver instances that observe the VerifierFactory. | |
| VerifierFactory | back to summary |
|---|---|
| private VerifierFactory() The VerifierFactory is not instantiable. | |
| attach | back to summary |
|---|---|
| public static void attach(final VerifierFactoryObserver o) Adds the VerifierFactoryObserver o to the list of observers. | |
| clear | back to summary |
|---|---|
| public static void clear() Clears the factory.
| |
| detach | back to summary |
|---|---|
| public static void detach(final VerifierFactoryObserver o) Removes the VerifierFactoryObserver o from the list of observers. | |
| getVerifier | back to summary |
|---|---|
| public static Verifier getVerifier(final String fullyQualifiedClassName) Returns the (only) verifier responsible for the class with the given name. Possibly a new Verifier object is transparently created.
| |
| getVerifiers | back to summary |
|---|---|
| public static Verifier[] getVerifiers() Returns all Verifier instances created so far. This is useful when a Verifier recursively lets the VerifierFactory create other Verifier instances and if you want to verify the transitive hull of referenced class files. | |
| notify | back to summary |
|---|---|
| private static void notify(final String fullyQualifiedClassName) Notifies the observers of a newly generated Verifier. | |