[jboss-user] [EJB3] - Re: @DependsOn and @Singleton Bean in EJB3.1 using jboss 6.0 CR1
aravind kopparthi
do-not-reply at jboss.com
Fri Dec 10 08:52:55 EST 2010
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&containerType=14&container=2029]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101210/e4925e2a/attachment.html
More information about the jboss-user
mailing list