Announcement Announcement Module
Collapse
No announcement yet.
Question: Static field settings Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question: Static field settings

    Hi Com.

    I have a problem related to static field.

    in other words i have a class like this.

    Code:
    public class IConstants {
    	public  static Vector<Integer> LIST_OF_CONST;
    and my goal will be to inject the list of constant.

    like this

    Code:
    	<bean id="iConstants" class="com.cryms.pardo.extranet.efospring.utility.IConstants">
    		<property name="TEST_FAT" >
    		<list>
    			<value>17</value>		
    		</list>
    		</property>
    	</bean>
    Thanks in advance!!!

    have a nice day o night depending the GMT.
    Last edited by joksy; Jun 1st, 2010, 01:54 AM.

  • #2
    Hi,
    The info in this link will give you the steps for doing what you need

    http://www.connorgarvey.com/blog/?p=105

    Regards

    Comment


    • #3
      Originally posted by gmateo View Post
      Hi,
      The info in this link will give you the steps for doing what you need

      http://www.connorgarvey.com/blog/?p=105

      Regards
      @gmateo Thanks, man. I do not yet understood why there isn't the support of inject value in a static side.

      anyway thanks again

      Comment

      Working...
      X