org.apache.tapestry.enhance
Class AutowireWorker

java.lang.Object
  extended by org.apache.tapestry.enhance.AutowireWorker
All Implemented Interfaces:
EnhancementWorker

public class AutowireWorker
extends Object
implements EnhancementWorker

An enhancement worker which automatically injects HiveMind services into pages/components if exactly one service point exists which is compatible with the read-only property's type.


Constructor Summary
AutowireWorker(org.apache.hivemind.internal.Module module, Log log)
           
 
Method Summary
 void performEnhancement(EnhancementOperation op, IComponentSpecification spec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutowireWorker

public AutowireWorker(org.apache.hivemind.internal.Module module,
                      Log log)
Method Detail

performEnhancement

public void performEnhancement(EnhancementOperation op,
                               IComponentSpecification spec)
Specified by:
performEnhancement in interface EnhancementWorker


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.