|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NonStopConfigurationRegistry
This class could be used for registering NonStopConfiguration
.
Users are recommended to use NonStopConfigurationBuilder
instead of directly using this class.
A user is allowed to register NonStopConfiguration
for a ToolkitObjectType
, an instance, a particular
method in the ToolkitObject & a particular method for a particular instance.
If multiple configurations could match for a particular operation, then the order in which the
NonStopConfiguration
is determined as follows:
ToolkitObject
instanceToolkitObject
instanceToolkitObjectType
ToolkitObjectType
Method Detail |
---|
void registerForType(NonStopConfiguration config, ToolkitObjectType... types)
NonStopConfiguration
for the all ToolkitObjectType
passed in.
void registerForInstance(NonStopConfiguration config, String toolkitTypeName, ToolkitObjectType type)
NonStopConfiguration
for all the ToolkitObjectType
which have the name passed in as the
parameter.
void registerForTypeMethod(NonStopConfiguration config, String methodName, ToolkitObjectType type)
NonStopConfiguration
for the method in ToolkitObject
void registerForInstanceMethod(NonStopConfiguration config, String methodName, String toolkitTypeName, ToolkitObjectType type)
NonStopConfiguration
for the method in ToolkitObjectType
and the instance name.
void registerTimeoutForSearch(long timeout, String instanceName, ToolkitObjectType objectType)
NonStopConfiguration
is used which was registered for
ToolkitObject
instance.
IllegalArgumentException
- if timeout <= 0NonStopConfiguration getConfigForType(ToolkitObjectType type)
NonStopConfiguration
for the ToolkitObjectType
NonStopConfiguration getConfigForInstance(String toolkitTypeName, ToolkitObjectType type)
NonStopConfiguration
for the ToolkitObjectType
and whose name is passed in as param.NonStopConfiguration getConfigForTypeMethod(String methodName, ToolkitObjectType type)
NonStopConfiguration
for the ToolkitObjectType
and whose method name is passed in as param.NonStopConfiguration getConfigForInstanceMethod(String methodName, String toolkitTypeName, ToolkitObjectType type)
NonStopConfiguration
for the ToolkitObjectType
and whose instance name & method name is
passed in as param.long getTimeoutForSearch(String instanceName, ToolkitObjectType objectType)
NonStopConfiguration deregisterForType(ToolkitObjectType type)
NonStopConfiguration
associated with the ToolkitObjectType
NonStopConfiguration deregisterForInstance(String toolkitTypeName, ToolkitObjectType type)
NonStopConfiguration
associated with the ToolkitObjectType
and whose instance name
is passed in as param.
NonStopConfiguration deregisterForTypeMethod(String methodName, ToolkitObjectType type)
NonStopConfiguration
associated with the ToolkitObjectType
and whose method name is
passed in as param.
NonStopConfiguration deregisterForInstanceMethod(String methodName, String toolkitTypeName, ToolkitObjectType type)
NonStopConfiguration
associated with the ToolkitObjectType
and whose method name &
instance name is passed in as param.
long deregisterTimeoutForSearch(String instanceName, ToolkitObjectType objectType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |