@Singleton
@DependsOn("SingletonProcessBean2")
publilc class SingletonProcessBean1
{
@PostConstruct
public void init(){
// trying to work somethings that SingletonProcessBean2 has initialized in its PostConstruct
}
}
@Singleton
publilc class SingletonProcessBean2{
@PostConstruct
public void init()
{
//initialize Service;
}
}