|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.beans.factory.xml.NamespaceHandlerSupport
org.springframework.scripting.config.LangNamespaceHandler
public class 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>
Constructor Summary | |
---|---|
LangNamespaceHandler()
|
Method Summary | |
---|---|
void |
init()
Invoked by the DefaultBeanDefinitionDocumentReader after
construction but before any custom elements are parsed. |
Methods inherited from class org.springframework.beans.factory.xml.NamespaceHandlerSupport |
---|
decorate, findDecoratorForNode, findParserForElement, parse, registerBeanDefinitionDecorator, registerBeanDefinitionDecoratorForAttribute, registerBeanDefinitionParser |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LangNamespaceHandler()
Method Detail |
---|
public void init()
NamespaceHandler
DefaultBeanDefinitionDocumentReader
after
construction but before any custom elements are parsed.
NamespaceHandlerSupport.registerBeanDefinitionParser(String, BeanDefinitionParser)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |