I want to run a postcontruct on a singleton when all other singletons have been initalised.
One of those singletons are made using a @producer
@Produces
@Singleton
public Sql2o getSql2o(){
...
}
I tried using @dependsOn({"Sql2o"}) - this doesn't work. What am I doing
wrong?
Thanks.
--
View this message in context:
http://tomee-openejb.979440.n4.nabble.com/DependsOn-a-producer-tp4678996.html
Sent from the TomEE Users mailing list archive at Nabble.com.
