-
Feb 16th, 2009, 12:08 AM
#1
Howto: Injecting static field of other class
How can I inject static field of a class to a spring bean.
Example:
I have a class 'Class1' which has a static field 'static1'. There's one another class 'Class2'. now I need to inject Class1.static1 into Class2.
Note: Class1 don't have getter for static field.
any idea?
-
Feb 16th, 2009, 07:02 AM
#2
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules