[jboss-user] [JBoss Web Services CXF] - @PostConstruct behavior question
S Bapat
do-not-reply at jboss.com
Fri Mar 26 16:53:39 EDT 2010
S Bapat [http://community.jboss.org/people/bapats] created the discussion
"@PostConstruct behavior question"
To view the discussion, visit: http://community.jboss.org/message/534241#534241
--------------------------------------------------------------
I am trying to perform some setup in a CXF web service, inside a method with a @PostConstruct annotation. When I call the operations on the web service, the method with the @PostConstruct annotation is getting called for every web service operation call. I was expecting that the web service endpoint will be created by the container only once, instead of on every call. Is a new endpoint getting created on every call? If so where should the initialization code be written?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/534241#534241]
Start a new discussion in JBoss Web Services CXF at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2046]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100326/bee5ef34/attachment.html
More information about the jboss-user
mailing list