org.apache.shindig.gadgets.process
Class Processor
java.lang.Object
org.apache.shindig.gadgets.process.Processor
public class Processor
- extends Object
Converts an input Context into an output Gadget.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Processor
@Inject
public Processor(GadgetSpecFactory gadgetSpecFactory,
VariableSubstituter substituter,
ContainerConfig containerConfig,
GadgetBlacklist blacklist,
FeatureRegistry featureRegistry)
process
public Gadget process(GadgetContext context)
throws ProcessingException
- Process a single gadget. Creates a gadget from a retrieved GadgetSpec and context object,
automatically performing variable substitution on the spec for use elsewhere.
- Throws:
ProcessingException - If there is a problem processing the gadget.
Copyright © 2007-2012. All Rights Reserved.