org.apache.sling.scripting.api
Interface BindingsValuesProvider


public interface BindingsValuesProvider

Service interface which allows for the Bindings object.

Since:
2.1

Field Summary
static String CONTEXT
          The name of the multi-value service property that defines the context(s) to which a BindingsValuesProvider applies.
static String DEFAULT_CONTEXT
          The default value of the CONTEXT service property, used for compatibility with previous versions of this bundle that didn't require it.
 
Method Summary
 void addBindings(Bindings bindings)
          Add objects to the Bindings object.
 

Field Detail

CONTEXT

static final String CONTEXT
The name of the multi-value service property that defines the context(s) to which a BindingsValuesProvider applies. This service property is optional, if not set the default value is @DEFAULT_CONTEXT

See Also:
Constant Field Values

DEFAULT_CONTEXT

static final String DEFAULT_CONTEXT
The default value of the CONTEXT service property, used for compatibility with previous versions of this bundle that didn't require it.

See Also:
Constant Field Values
Method Detail

addBindings

void addBindings(Bindings bindings)
Add objects to the Bindings object. The Bindings object passed to this method does not support replacing or removing entries provided by Sling core scripting supports (request, response, resource, etc.). Entries created by other implementations of SlingScriptBindingsValuesProvider is permitted.

Parameters:
bindings - the Bindings object


Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.