aravind kopparthi [
http://community.jboss.org/people/aravindsk] created the discussion
"Re: @DependsOn and @Singleton Bean in EJB3.1 using jboss 6.0 CR1"
To view the discussion, visit:
http://community.jboss.org/message/575408#575408
--------------------------------------------------------------
@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;
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/575408#575408]
Start a new discussion in EJB3 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]