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