public class Processor extends Object
| Constructor and Description |
|---|
Processor(GadgetSpecFactory gadgetSpecFactory,
VariableSubstituter substituter,
ContainerConfig containerConfig,
GadgetAdminStore gadgetAdminStore,
FeatureRegistryProvider featureRegistryProvider) |
| Modifier and Type | Method and Description |
|---|---|
Gadget |
process(GadgetContext context)
Process a single gadget.
|
protected void |
validateGadgetUrl(Uri url) |
@Inject public Processor(GadgetSpecFactory gadgetSpecFactory, VariableSubstituter substituter, ContainerConfig containerConfig, GadgetAdminStore gadgetAdminStore, FeatureRegistryProvider featureRegistryProvider)
protected void validateGadgetUrl(Uri url) throws ProcessingException
ProcessingExceptionpublic Gadget process(GadgetContext context) throws ProcessingException
ProcessingException - If there is a problem processing the gadget.Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.