jsr356-experts@websocket-spec.java.net

[jsr356-experts] Re: More more programmatic deployment

From: Mark Thomas <mark_at_homeinbox.net>
Date: Wed, 27 Feb 2013 10:03:49 -0800

On 27/02/2013 09:17, Danny Coward wrote:
> OK thanks Mark and Rossen. Jitu on our team has suggested instead of:-
>
> ServerContainer* extends WebSocketContainer {
> public void deploy(Class<?> pojo) throws DeploymentException;
> public void deploy(ServerEndpointConfiguration sec) throws
> DeploymentException;
> }
>
> we go the whole hog and do:-
>
> ServerContainer* extends WebSocketContainer {
> public void deploy(Set<Class<?>> pojos) throws DeploymentException;
> public void deploy(Set<ServerEndpointConfiguration> configs) throws
> DeploymentException;
> }
>
> Its basically the API call the containers have to have to support
> ServerApplicationConfiguration in any case.
>
> Let me know if you have a string preference for either.

No strong preference - happy with either.

Mark