|
JTR 4.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.config.RegisteredFactories
public class RegisteredFactories
This class is in charge of registering into the JTR runtime configuration all those JTR pluggable component factories.
Field Summary | |
---|---|
static java.lang.String |
IASSIGNMENT_POLICY_FACTORY
Key necessary to set/obtain the factory in charge of instantiating IAssignmentPolicy concrete implementations. |
static java.lang.String |
IOUTCOME_FACTORY
Key necessary to set/obtain the factory in charge of instantiating IOutcomeFactory concrete implementations. |
static java.lang.String |
ITEST_COMPLETION_LISTENER
Key necessary to set/obtain the factory in charge of instantiating ITestCompletionListenerFactory concrete implementations. |
static java.lang.String |
ITEST_RESULT_DISPLAYER
Key necessary to set/obtain the factory in charge of instantiating ITestResultCollectorFactory concrete implementations. |
static java.lang.String |
ITEST_RESULTS_EXPORTER
Key necessary to set/obtain the factory in charge of instantiating ITestResultsExporterFactory concrete implementations. |
static java.lang.String |
ITEST_SNAPSHOT_FACTORY
Key necessary to set/obtain the factory in charge of instantiating ITestSnapshotFactory concrete implementations. |
static java.lang.String |
IWSHELPER_FACTORY
Key necessary to set/obtain the factory in charge of instantiating IWsHelperFactory concrete implementations. |
Constructor Summary | |
---|---|
RegisteredFactories()
|
Method Summary | |
---|---|
static IFactory |
getFactory(java.lang.String key)
Returns the factory identified by the given key or null
should the factory be unregistered. |
static void |
registerFactory(java.lang.String key,
IFactory instace)
This method allow to register a new factory providing its instance rather than its FQN. |
static void |
registerFactory(java.lang.String key,
java.lang.String fqn)
Registers a new factory identified by the provided key and represented by the provided FQN. The key has to be one of the recognized values represented by the constant Strings defined by this class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String IASSIGNMENT_POLICY_FACTORY
IAssignmentPolicy
concrete implementations.
public static final java.lang.String IOUTCOME_FACTORY
IOutcomeFactory
concrete implementations.
public static final java.lang.String IWSHELPER_FACTORY
IWsHelperFactory
concrete implementations.
public static final java.lang.String ITEST_RESULT_DISPLAYER
ITestResultCollectorFactory
concrete implementations.
public static final java.lang.String ITEST_COMPLETION_LISTENER
ITestCompletionListenerFactory
concrete implementations.
public static final java.lang.String ITEST_SNAPSHOT_FACTORY
ITestSnapshotFactory
concrete implementations.
public static final java.lang.String ITEST_RESULTS_EXPORTER
ITestResultsExporterFactory
concrete implementations.
Constructor Detail |
---|
public RegisteredFactories()
Method Detail |
---|
public static void registerFactory(java.lang.String key, java.lang.String fqn) throws RegistrationFailedException
Strings
defined by this class.
key
- Stringfqn
- String
RegistrationFailedException
public static void registerFactory(java.lang.String key, IFactory instace)
key
- Stringinstace
- IFactorypublic static IFactory getFactory(java.lang.String key)
null
should the factory be unregistered.
key
- String
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |