|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerApplicationConfig
Developers include implementations of ServerApplicationConfig in an archive containing websocket endpoints (WAR file, or JAR file within the WAR file) in order to specify the websocket endpoints within the archive the implementation must deploy. There is a separate method for programmatic endpoints and for annotated endpoints.
Method Summary | |
---|---|
Set<Class<?>> |
getAnnotatedEndpointClasses(Set<Class<?>> scanned)
Return a set of annotated endpoint classes that the server container must deploy. |
Set<ServerEndpointConfig> |
getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses)
Return a set of ServerEndpointConfig instances that the server container will use to deploy the programmatic endpoints. |
Method Detail |
---|
Set<ServerEndpointConfig> getEndpointConfigs(Set<Class<? extends Endpoint>> endpointClasses)
endpointClasses
- the set of all the Endpoint classes in the archive containing
the implementation of this interface.
Set<Class<?>> getAnnotatedEndpointClasses(Set<Class<?>> scanned)
scanned
- the set of all the annotated endpoint classes in the archive containing
the implementation of this interface.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |