Package org.apache.tapestry5.services
Interface NullFieldStrategySource
-
- All Known Implementing Classes:
NullFieldStrategySourceImpl
@UsesMappedConfiguration(NullFieldStrategy.class) public interface NullFieldStrategySource
A source forNullFieldStrategy
instances based on a logical name.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NullFieldStrategy
get(String name)
Returns the instance based on the name.
-
-
-
Method Detail
-
get
NullFieldStrategy get(String name)
Returns the instance based on the name. Instances are expected to be stateless and therefore, shareable and thread safe.- Parameters:
name
- name of the strategy (case is ignored)- Returns:
- the strategy
- Throws:
IllegalArgumentException
- if the name does not match a configured instance
-
-