protected static class SpringAwareGroovyServlet.SpringAwareBinding
extends Binding
Binding which is delegating to a existing one but looks up missing variables inside the provided
ApplicationContext.
Do note that beans are stored inside the binding and therefore only looked up once!| Constructor and Description |
|---|
SpringAwareBinding(Binding delegate,
ApplicationContext springCtx) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getProperty(java.lang.String property) |
java.lang.Object |
getVariable(java.lang.String name) |
java.util.Map |
getVariables() |
boolean |
hasVariable(java.lang.String name) |
void |
setProperty(java.lang.String property,
java.lang.Object newValue) |
void |
setVariable(java.lang.String name,
java.lang.Object value) |
public SpringAwareBinding(Binding delegate,
ApplicationContext springCtx)
public java.lang.Object getVariable(java.lang.String name)
public void setVariable(java.lang.String name,
java.lang.Object value)
public boolean hasVariable(java.lang.String name)
public java.util.Map getVariables()
public java.lang.Object getProperty(java.lang.String property)
public void setProperty(java.lang.String property,
java.lang.Object newValue)
Copyright © 2018 SAP SE. All Rights Reserved.