Yes, so i don't use context , but BeanFactory,
Type: Posts; User: hejrcc; Keyword(s):
Yes, so i don't use context , but BeanFactory,
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...
<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...
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,
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...
//MockView.java
public class MockView extends ViewPart {
public void createPartControl(Composite parent) {
Button btn = new Button(parent, SWT.PUSH);
}
}