|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jsieve.TestManagerImpl
public class TestManagerImpl
Maps Test names to configured Test implementation classes.
Instances may safely be accessed concurrently by multiple threads.
| Constructor Summary | |
|---|---|
TestManagerImpl(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String> classNameMap)
TestManager is instanciated with getInstance |
|
| Method Summary | |
|---|---|
ExecutableTest |
getTest(java.lang.String name)
Method newInstance answers an instance of the class to which a Test name is mapped. |
java.lang.Class |
lookup(java.lang.String name)
Method lookup answers the class to which a Test name is mapped. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestManagerImpl(java.util.concurrent.ConcurrentMap<java.lang.String,java.lang.String> classNameMap)
| Method Detail |
|---|
public java.lang.Class lookup(java.lang.String name)
throws LookupException
Method lookup answers the class to which a Test name is mapped.
name - -
The name of the Test
LookupException
public ExecutableTest getTest(java.lang.String name)
throws LookupException
Method newInstance answers an instance of the class to which a Test name is mapped.
getTest in interface TestManagername - -
The name of the Test
LookupException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||