What's the syntax to make a bean annotated with @Startup depend on a second bean. For
example, I have two beans:
| 1. StartupValidationBean
| 2. ReleaseLocksBean
|
|
| I want to do something like this:
|
| | @Startup(depends={my.package.ReleaseLockBean})
| | public class StartupValidationBean {
| |
| | @Create
| | public void beginValidation() {
| | // get reference to ReleaseLockBean
| | releaseLockBean.releaseAllLocks();
| | }
| | }
| |
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044806#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...