Hi Glen, the code you referred below might look a bit confusing as it only
shows you an incomplete section of code snippet. A complete code should look
like below:
Object implementor = new GreeterImpl();
EndpointImpl ep = (EndpointImpl) Endpoint.publish("http://localhost/service",
implementor);
ep.getServer().getEndpoint().getInInterceptors().add(new
LoggingInInterceptor());
ep.getServer().getEndpoint().getOutInterceptors().add(new
LoggingOutInterceptor());
So the implementor indeed implements the SEI interface.
I will update the wiki correspondingly, hope this makes it clearly now.
Cheers,
Jervis
> -----Original Message-----
> From: Glen Mazza [mailto:[EMAIL PROTECTED]
> Sent: 2007年11月16日 9:39
> To: [email protected]
> Subject: Nomenclature request
>
> Team,
>
> This sample server on our debugging page[1] (copied below) is not being
> constructed via implementing an SEI (or at least it does not appear that
> way). What do I call the below type of service: a dynamic service, or
> endpoint-generated service, or...? I'm looking for a term to contrast
> this type of service from one created normally via implementing an SEI
> and having it run using CXFServlet.
>
> Thanks,
> Glen
>
> import javax.xml.ws.Endpoint;
> import org.apache.cxf.interceptor.LoggingInInterceptor;
> import org.apache.cxf.interceptor.LoggingOutInterceptor;
> import org.apache.cxf.jaxws.EndpointImpl;
>
> EndpointImpl ep = (EndpointImpl)
> Endpoint.publish("http://localhost/service", service);
>
> ep.getServer().getEndpoint().getInInterceptors().add(new
> LoggingInInterceptor());
> ep.getServer().getEndpoint().getOutInterceptors().add(new
> LoggingOutInterceptor());
>
>
> [1] http://cwiki.apache.org/confluence/display/CXF20DOC/Debugging
----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland