CometDServlet
that can be configured with the init-parameter
services to be a comma separated list of class names of annotated services, that will
be processed by ServerAnnotationProcessor
upon initialization.ClientAnnotationProcessor.process(Object)
on callbacks methods
annotated with Listener
and Subscription
, and on lifecycle methods annotated
with PreDestroy
.process(Object)
on callbacks methods
annotated with Listener
, Subscription
and RemoteCall
, and on
lifecycle methods annotated with PreDestroy
.ClientAnnotationProcessor.processCallbacks(Object)
on callback methods annotated with Listener
and Subscription
.processCallbacks(Object)
on callback methods
annotated with Listener
, Subscription
and RemoteCall
.failure
to the remote caller.Listener
or Subscription
whose value is a channel template such as /game/{gameId}
, this
annotation binds parameters of those methods with the value obtained
matching the actual channel with the channel template.Session
, callbacks
annotated with Listener
and Subscription
and lifecycle
methods annotated with PostConstruct
.Inject
and Session
,
configuration methods annotated with Configure
, callback methods
annotated with Listener
, Subscription
and RemoteCall
,
and lifecycle methods annotated with PostConstruct
.Configure
.Inject
and Session
.PostConstruct
.PostConstruct
.PreDestroy
.PreDestroy
.result
to the remote caller.sessions
objects
scoped to the service instance.Copyright © 2008–2017 The CometD Project. All rights reserved.