org.apache.jackrabbit.spi
Interface Subscription

All Known Implementing Classes:
EventSubscriptionImpl

public interface Subscription

Subscription defines a marker interface for an event subscription. An implemementation will likely keep information in this object about the last consumed events and other implementation specific data. A client will usually first create an event filter and then a subscription based on the filter. Events can then be retrieved by calling RepositoryService.getEvents(Subscription, long). If a subscription is no longer needed a client should call RepositoryService.dispose(Subscription).




Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.