cometd-java/cometd-java-annotation/cometd-java-annotation-server/src/main/java/org/cometd/annotation/server/ServerAnnotationProcessor.java
/**
     * Performs the opposite processing done by {@link #processCallbacks(Object)} on callback methods
     * annotated with {@link Listener}, {@link Subscription} and {@link RemoteCall}.
     *
     * @param bean the annotated service instance
     * @return true if the at least one callback has been deprocessed
     */
Performs the opposite processing done by  #processCallbacks(Object) on callback methods
annotated with  Listener,  Subscription and  RemoteCall.

@param bean the annotated service instance
@return true if the at least one callback has been deprocessed
Performs the opposite processing done by #processCallbacks ( Object ) on callback methods annotated with Listener Subscription and RemoteCall . @param bean the annotated service instance @return true if the at least one callback has been deprocessed
public boolean deprocessCallbacks(Object bean) {
        if (bean == null) {
            return false;
        }
        Class<?> klass = bean.getClass();
        Service serviceAnnotation = klass.getAnnotation(Service.class);
        if (serviceAnnotation == null) {
            return false;
        }
        boolean result = deprocessListener(bean);
        result |= deprocessSubscription(bean);
        result |= deprocessRemoteCall(bean);
        destroyLocalSession(bean);
        return result;
    }
public boolean deprocessCallbacks ( Object bean ) { if ( bean == null ) { return false ; } Class < ? > klass = bean . getClass ( ) ; Service serviceAnnotation = klass . getAnnotation ( Service . class ) ; if ( serviceAnnotation == null ) { return false ; } boolean result = deprocessListener ( bean ) ; result |= deprocessSubscription ( bean ) ; result |= deprocessRemoteCall ( bean ) ; destroyLocalSession ( bean ) ; return result ; }
Performs the opposite processing done by {@link #processCallbacks(Object)} on callback methods
 annotated with {@link Listener}, {@link Subscription} and {@link RemoteCall}.
Performs the opposite processing done by { @link #processCallbacks ( Object ) } on callback methods annotated with { @link Listener } { @link Subscription } and { @link RemoteCall } .