我有一个像这样创建的 iPOJO 组件实例:
Dictionary dic = new Hashtable();
dic.put("target-name", finalHelloInstanceName);
ComponentInstance x= factory.createComponentInstance(dic);
在我上面实例化的组件中,我怎样才能获得字典“dic”值?
可能是这样的吗?
@Validate
public void start() throws Exception {
Dictionary dic= ?????
}
或者是:
@Updated
public void updated(Dictionary conf) {
dic= conf;
}