java - Bean injection in groovy class -
Currently I'm rewriting the Java project by Jerovi, then I came into this problem
< P> Java: Public abstract class AbstractJavaClass {Personal ConfigClass configClass; Public Zero (); G / Seter} Public class Java class expands the Java Java class {@Override Public Zero () (Something;}}
ConfigClass member was injected with xml methods
Groovy:
Class Groevias expands the Java Java application {@Override Public Zero () (Some How do I apply property referees in the groovy class?
Finally I used this method.
Groovy: Class Groove class expanded the Java Java class {public grovolvicus () {configClass = new ConfigClass (); configClass.setSomeAttributes ();} @ Override Public Wide Go () Do something);}}
Comments
Post a Comment