users@jax-ws.java.net

Re: Service Initialisation

From: Florian Rengers <rengers_at_grit.de>
Date: Mon, 13 Mar 2006 16:53:36 +0100

I found it.

I have to use the annotations PostConstruct and PreDestroy like this:

@PostConstruct
private void init() {}

@PreDestroy
private void destroy() {}

greetings

Florian



Florian Rengers wrote:

> Hi,
>
> How can I initialise my JAX-WS service / sericeendpoint?
>
> I have to set some init-params for the whole service.
>
> best regards
>
> Florian
>