users@jsr311.java.net

RE: RuntimeDelegate.createEndpoint()

From: Sergey Beryozkin <sergey.beryozkin_at_iona.com>
Date: Tue, 3 Jun 2008 09:18:04 +0100

Yes, that would be an option...

Thanks, Sergey

> Given a loose nature of the second parameter, we can certainly
> introduce a
> CXF-specific simple Endpoint interface. But it won't work anyway
> because
> ApplicationConfig has no getAddress()...

You could define a publish method in your endpoint interface like the
one in JAX-WS endpoint that takes an address as a parameter.

>
> IMHO at least ApplicationConfig.getAddress() would be needed for a
> reasonable status quo, even though it would be kind of redundant
> with the
> current pattern around using RuntimeDelegate.createEndpoint, where an
> address is set on a lower-level interface in a step 2...
>
I'd rather keep the address out of ApplicationConfig - its also
redundant where that is used in a servlet.

Marc.


----------------------------
IONA Technologies PLC (registered in Ireland)
Registered Number: 171387
Registered Address: The IONA Building, Shelbourne Road, Dublin 4, Ireland