public interface RemoteServiceProgrammatic
Endpoint. This is a must because implementation
can call any of these methods and declared endpoint must have implementation
for all of these methods.
Failure to do so would end with an Exception thrown during runtime, because
invoked method (from Endpoint wouldn't be found in
instance provided by EJB container.
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(Session session,
CloseReason closeReason) |
void |
onError(Session session,
Throwable thr) |
void |
onOpen(Session session,
EndpointConfig config) |
void onOpen(Session session, EndpointConfig config)
void onClose(Session session, CloseReason closeReason)
Copyright © 2012-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.