spring-framework / org.springframework.scripting.config / LangNamespaceHandler

LangNamespaceHandler

open class LangNamespaceHandler : NamespaceHandlerSupport

NamespaceHandler that supports the wiring of objects backed by dynamic languages such as Groovy, JRuby and BeanShell. The following is an example (from the reference documentation) that details the wiring of a Groovy backed bean:

 <lang:groovy id="messenger" refresh-check-delay="5000" script-source="classpath:Messenger.groovy"> <lang:property name="message" value="I Can Do The Frug"/> </lang:groovy> 

Author
Rob Harrop

Author
Juergen Hoeller

Author
Mark Fisher

Since
2.0

Constructors

<init>

LangNamespaceHandler()

NamespaceHandler that supports the wiring of objects backed by dynamic languages such as Groovy, JRuby and BeanShell. The following is an example (from the reference documentation) that details the wiring of a Groovy backed bean:

 <lang:groovy id="messenger" refresh-check-delay="5000" script-source="classpath:Messenger.groovy"> <lang:property name="message" value="I Can Do The Frug"/> </lang:groovy> 

Functions

init

open fun init(): Unit