Search:

Type: Posts; User: hejrcc; Keyword(s):

Search: Search took 0.03 seconds.

  1. Yes, so i don't use context , but BeanFactory,

    Yes, so i don't use context , but BeanFactory,
  2. You may mistake my meaning :) depends-on...

    You may mistake my meaning :)

    depends-on attribute:
    the dependency is properly initialized before the dependent bean

    but I want to initialized the beans after the dependent bean, not...
  3. how to make BeanFactory creating special bean, not getBean()

    <beans>
    <bean id="beanTest" class="com.louis.mock.TestBean"/>

    <bean id="bean1" class="com.louis.mock.TestBean1"/>
    <bean id="bean2" class="com.louis.mock.TestBean2"/>
    <bean...
  4. Replies
    3
    Views
    810

    Thank you for your advice, but is it advisable...

    Thank you for your advice, but is it advisable of creating a new object in order to ref a static variable?

    and the other problem is difficult for, and no any information in the document,
  5. Replies
    8
    Views
    1,388

    wpoitras's method can't reach cyber's desire. ...

    wpoitras's method can't reach cyber's desire.

    according to wpoitras's notion:


    We can config MyBusinessObject's and FooFactory's property other than Foo's in beans.xml,
    but we really...
  6. Replies
    3
    Views
    810

    how to reference an outside object in IoC

    //MockView.java

    public class MockView extends ViewPart &#123;

    public void createPartControl&#40;Composite parent&#41; &#123;
    Button btn = new Button&#40;parent, SWT.PUSH&#41;;
    &#125;

    &#125;
Results 1 to 6 of 6