org.apache.tapestry.enhance
Interface InjectEnhancementWorker
- All Known Implementing Classes:
- InjectMetaWorker, InjectObjectWorker, InjectPageWorker, InjectScriptWorker, InjectStateFlagWorker, InjectStateWorker
public interface InjectEnhancementWorker
A kind of enhancement worker dedicated to injection, based on the
<inject> element of the specification. There are different types of
injection which match up to different implementations of this interface
(i.e., the Strategy pattern).
- Since:
- 4.0
- Author:
- Howard M. Lewis Ship
- See Also:
InjectSpecification
,
DispatchToInjectWorker
performEnhancement
void performEnhancement(EnhancementOperation op,
InjectSpecification spec)
- Perform the enhancement defined by the
InjectSpecification
. Thrown runtime
exceptions are caught and reported by the invoker.
- Parameters:
op
- Current enhancement context.spec
- The injection specificiation configuration.
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.