org.apache.tapestry.enhance
Class InjectScriptWorker

java.lang.Object
  extended byorg.apache.tapestry.enhance.InjectScriptWorker
All Implemented Interfaces:
InjectEnhancementWorker

public class InjectScriptWorker
extends java.lang.Object
implements InjectEnhancementWorker

Injects IScript instances directly into pages or components.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
InjectScriptWorker()
           
 
Method Summary
 void performEnhancement(EnhancementOperation op, InjectSpecification spec)
          Perform the enhancement defined by the InjectSpecification.
 void setSource(IScriptSource source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InjectScriptWorker

public InjectScriptWorker()
Method Detail

performEnhancement

public void performEnhancement(EnhancementOperation op,
                               InjectSpecification spec)
Description copied from interface: InjectEnhancementWorker
Perform the enhancement defined by the InjectSpecification. Thrown runtime exceptions are caught and reported by the invoker.

Specified by:
performEnhancement in interface InjectEnhancementWorker

setSource

public void setSource(IScriptSource source)