JBoss Community

Re: Load on startup is ignored - JaxWS webservice is always initialized first

created by rushead in JBoss AS7 Development - View the full discussion

Thank you very much.

Now I understand the behavior, and the differences between 5.1 and 7 :)

 

I'm using the @PostConstruct annotation now, which works fine for me.

My only problem now is (in my special case), that I think the webservice should be destroyed if the configuration can not be loaded in the @PostConstruct method.

 

Is there any way to invoke that the webservice should be distroyed (within the @PostConstruct method)?

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community