Package com.chutneytesting.action.domain
Class DefaultActionTemplateRegistry
java.lang.Object
com.chutneytesting.action.domain.DefaultActionTemplateRegistry
- All Implemented Interfaces:
ActionTemplateRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAll()getByIdentifier(String identifier) voidrefresh()Refresh all availableActionTemplatebased on givenActionTemplateLoader.
Main use case, except for initialization, is whenActionclasses are added to the classpath at runtime.
-
Constructor Details
-
DefaultActionTemplateRegistry
-
-
Method Details
-
refresh
public void refresh()Description copied from interface:ActionTemplateRegistryRefresh all availableActionTemplatebased on givenActionTemplateLoader.
Main use case, except for initialization, is whenActionclasses are added to the classpath at runtime.- Specified by:
refreshin interfaceActionTemplateRegistry
-
getByIdentifier
- Specified by:
getByIdentifierin interfaceActionTemplateRegistry- Returns:
- a
ActionTemplateor empty if the given type did not matched any registeredActionTemplate
-
getAll
- Specified by:
getAllin interfaceActionTemplateRegistry
-